Handbuch:$wgSitemapNamespacesPriorities

This page is a translated version of the page Manual:$wgSitemapNamespacesPriorities and the translation is 56% complete.
Suche: $wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Eingeführt in Version:1.19.0 (r95320)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array) oder false
Standardwert:false

Details

This configuration parameter allows you to set custom priorities to namespaces when sitemaps are generated using the generateSitemap.php script.

This array should be a map of namespace IDs to their priority. Beispiel:

$wgSitemapNamespacesPriorities = [
    NS_USER => '0.9',
    NS_HELP => '0.1'
];

Siehe auch