Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using MediaWiki 1.19.2. I want to generate a sitemap.xml. Here's the documentation.

We have to use a maintenance script to generate the sitemap.xml. So I use the extension Maintenance but I don't know the details, how to do? Any one know?

share|improve this question
The sitemap extension isn't in the list of supported scripts, so I don't expect it's possible. – paulmorriss Nov 22 '12 at 16:40
It's not sitemap extension. Sitemap Generator is a part of MediaWiki, it's native code. – Tran Cuong Nov 22 '12 at 17:27

The Maintenance extension only allows you to run a limited set of maintenance scripts. This list does not include generateSitemap.php, so you cannot generate sitemaps using that extension.

Instead, you might be able to use the MaintenanceShell extension, which allows you to run any MediaWiki maintenance script. Of course, even better would be to switch to a hosting provider that allows real shell access.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.