Handbuch:$wgSitemapNamespaces

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

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語
Namensräume: $wgSitemapNamespaces
Array of namespaces to generate a sitemap or false for all namespaces.
Eingeführt in Version:1.13.0
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(array) or false
Standardwert:false
Andere Einstellungen: Alphabetisch | Nach Funktion

Details

Array of namespace IDs to generate a sitemap for when the maintenance/generateSitemap.php script is run, or false if one is to be generated for all namespaces.

Beispiel

$wgSitemapNamespaces = array( 0, 2, 4, 12 );

Now only sitemap files for the main, user, project and help namespace will be generated and thus included into the sitemap.

See also