Manual:$wgSitemapNamespaces/zh

详情
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 (0), user (2), project (4) and help (12) namespace will be generated and thus included into the sitemap.

参见

 * - Custom namespace priorities for sitemaps.