From ab813c103dd8edd2ecd06ebfd653da8490216a6d Mon Sep 17 00:00:00 2001 From: tjlsangria Date: Sun, 2 Oct 2016 15:26:42 -0400 Subject: [PATCH] Add NS_TEMPLATE to wgNamespacesWithSubpages in DefaultSettings.php Bug: T147160 Change-Id: I504de3332bbc4b39d8d69fa324949988d56d0b67 --- RELEASE-NOTES-1.29 | 2 ++ includes/DefaultSettings.php | 1 + 2 files changed, 3 insertions(+) diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29 index 4e6396b31f..5e211ba186 100644 --- a/RELEASE-NOTES-1.29 +++ b/RELEASE-NOTES-1.29 @@ -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 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index e908a16e69..09ea958318 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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, -- 2.20.1