summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Klinkovsk√Ĺ <j.l.k@gmx.com>2016-07-20 09:39:07 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-07-23 20:45:33 +0200
commitc20bddf2d35e5d9185262a46fda7ca91a4eade0c (patch)
tree7abc71446d8f1fa78c3b684d9161a0b313589550
parent5c93cc0eed19ee88427274e124e3a2aeb3b55eb6 (diff)
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
-rw-r--r--LocalSettings.archlinux.org.php3
1 files changed, 3 insertions, 0 deletions
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