Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.