From c20bddf2d35e5d9185262a46fda7ca91a4eade0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Wed, 20 Jul 2016 09:39:07 +0200 Subject: LocalSettings: Enable subpages in the main namespace The default value for the main namespace is `false`, because Wikipedia does not use subpages for categorization anymore. That is not the case on ArchWiki, so there is no reason why the main namespace should behave differently. The most visible changes are relative links using the normal double square brackets notation and automatic breadcrumb links appearing at the top of the subpage, linking to each parent page that exists. See [1] for discussion and [2] for upstream documentation of this setting. Also see the related FS#39668 [3], which will be solved by this patch. [1] https://wiki.archlinux.org/index.php/Help_talk:Style#Slashes_in_titles [2] https://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages [3] https://bugs.archlinux.org/task/39668 --- LocalSettings.archlinux.org.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'LocalSettings.archlinux.org.php') diff --git a/LocalSettings.archlinux.org.php b/LocalSettings.archlinux.org.php index 7cab6ac7..e5249dc9 100644 --- a/LocalSettings.archlinux.org.php +++ b/LocalSettings.archlinux.org.php @@ -78,6 +78,9 @@ $wgGitRepositoryViewers['.+projects\.archlinux\.org/vhosts/wiki\.archlinux\.org\ $wgJobRunRate = 0; +# Enable subpages in the main namespace (FS#39668) +$wgNamespacesWithSubpages[NS_MAIN] = true; + ## ## Database settings -- cgit v1.2.2