Extension:AutoSitemap

Disclaimer
This extension is based on extension Extension:ManualSitemap. I haven`t possibility for updating my sitemap via cron because of hosting provider, and I also doesn`t want to update it manually. So I edited an exist extension wich will update sitemap by itself at any page edit, create, delete, rename, etc events.

About
AutoSitemap is a small sitemap generator.

AutoSitemap Extension automatically creates and updates a sitemap file for your Mediawiki site with settings taken from LocalSettings.php. This allows Google and other search engines to explore your Mediawiki site smarter and faster.

Installation

 * 1) Extract the archive into /extensions directory
 * 2) Add the following lines near the end in the LocalSettings.php file:

Configuration options
There are various options for extension, you can put them into your LocalSettings.php file (before the "require once") line. However, extension should work even out-of box.

Search engines notification
If servers that fetch the sitemap could not be notified automatically, the warning will be shown. Sometimes web hoster does not allow the fopen command to call urls (allow_url_fopen=false). Also a link where the user can Autoly inform the server like google will be shown.

Set permissions
You must create the file sitemap.xml in your wiki root directory, and chmod it (change permissions) to 777 before running you wiki.