Add NS_TEMPLATE to wgNamespacesWithSubpages in DefaultSettings.php
authortjlsangria <tjlsangria@gmail.com>
Sun, 2 Oct 2016 19:26:42 +0000 (15:26 -0400)
committerTTO <at.light@live.com.au>
Fri, 16 Dec 2016 03:03:28 +0000 (03:03 +0000)
Bug: T147160
Change-Id: I504de3332bbc4b39d8d69fa324949988d56d0b67

RELEASE-NOTES-1.29
includes/DefaultSettings.php

index 4e6396b..5e211ba 100644 (file)
@@ -23,6 +23,8 @@ production.
 * ApiBase::$messageMap is no longer public. Code attempting to access it will
   result in a PHP fatal error.
 * $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC policies.
+* Subpages are now enabled by default in the Template namespace. Set
+  $wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior.
 
 === New features in 1.29 ===
 * (T5233) A cookie can now be set when a user is autoblocked, to track that user if
index e908a16..09ea958 100644 (file)
@@ -4016,6 +4016,7 @@ $wgNamespacesWithSubpages = [
        NS_FILE_TALK => true,
        NS_MEDIAWIKI => true,
        NS_MEDIAWIKI_TALK => true,
+       NS_TEMPLATE => true,
        NS_TEMPLATE_TALK => true,
        NS_HELP => true,
        NS_HELP_TALK => true,