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?

  • 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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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