Handbuch:$wgSitemapNamespacesPriorities
Appearance
Deprecated: Diese veraltete Funktion sollte nicht mehr verwendet werden, ist jedoch noch für Gründe der Abwärtskompatibilität verfügbar. |
| Suche: $wgSitemapNamespacesPriorities | |
|---|---|
| Custom namespace priorities for sitemaps. |
|
| Eingeführt in Version: | 1.19.0 (r95320) |
| Veraltet in Version: | 1.45.0 |
| Entfernt in Version: | Weiterhin vorhanden |
| Erlaubte Werte: | (Array) oder false |
| Standardwert: | false |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
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
- $wgSitemapNamespaces - Namespaces to generate a sitemap or false for all namespaces.