Manual:$wgSitemapNamespaces/ru

Подробнее
Array of namespace IDs to generate a sitemap for when the script is run, or false if one is to be generated for all namespaces.

Примеры
Now only sitemap files for the main, user, project and help namespace will be generated and thus included into the sitemap.