手册:$wgSitemapNamespacesPriorities

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgSitemapNamespacesPriorities and the translation is 50% complete.

Other languages:
English • ‎español • ‎magyar • ‎polski • ‎中文 • ‎日本語
名字空间: $wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
引进版本:1.19.0 (r95320)
移除版本:仍在使用
允许的值:数组或false
默认值:false

详情

Custom namespace priorities for sitemaps. Setting this will allow you to set custom priorities to namespaces when sitemaps are generated using the maintenance/generateSitemap.php script.

This should be a map of namespace IDs to priority. 例子:

$wgSitemapNamespacesPriorities = array(
    NS_USER => '0.9',
    NS_HELP => '0.0',
);

参见