3

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?

2
  • The sitemap extension isn't in the list of supported scripts, so I don't expect it's possible. Commented Nov 22, 2012 at 16:40
  • It's not sitemap extension. Sitemap Generator is a part of MediaWiki, it's native code.
    – Tran Cuong
    Commented Nov 22, 2012 at 17:27

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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