MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=indexsitemap
(main | indexsitemap)
- This module requires read rights.
- Source: IndexationUtils
- License: unknown
Creates a sitemap of the website.
Parameters:
- type
type of sitemap to output (supported values: "text", "xml")
- This parameter is required.
- index
true/false to submit sitemap to google (note: this feature currently disabled)
- This parameter is required.
- Type: boolean (details)
- username
username requesting query
- filename
filename of sitemap output (default value: "sitemap")
- dryrun
if set to true, sitemap output is returned in response instead of written to file
- Type: boolean (details)
- token
mandatory editToken
Example: