Manual:$wgSitemapNamespacesPriorities

This page is a translated version of the page Manual:$wgSitemapNamespacesPriorities and the translation is 33% complete.
Buscar: $wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Introducido en la versión:1.19.0 (r95320)
Eliminado en la versión:aún se usa
Valores permitidos:(array) or false
Valor predeterminado:false

Detalles

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. Ejemplo:

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

See also