Page MenuHomePhabricator

Enable subpages in template namespace on huwikisource
Closed, ResolvedPublic

Description

Subpages in the template namespace (10) are disabled on huwikisource. Please enable them, disabling doesn’t make any sense, as template documentation is stored on subpages. (I don’t know when was it disabled, the initial commit 015f5b7131ee of the publicly available version of InitializeSettings.php already contains it.)

Related Objects

Event Timeline

Change 406474 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[operations/mediawiki-config@master] Reenable subpages in template namespace on huwikisource

https://gerrit.wikimedia.org/r/406474

This will be deployed tommorrow between 15:00-16:00 per UTC+1 time zone.

Change 406474 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable again wgNamespacesWithSubpages for huwikisource

https://gerrit.wikimedia.org/r/406474

Mentioned in SAL (#wikimedia-operations) [2018-01-29T14:37:23Z] <ladsgroup@tin> Synchronized wmf-config/InitialiseSettings.php: [[gerrit:406474|Enable again wgNamespacesWithSubpages for huwikisource (T185813)]] (duration: 00m 57s)

Thanks! I looked at the patch just now, and the whole line could be removed – '+huwikisource' => [ 10 => 1 ] just overrides the default value of 1 for NS_TEMPLATE with 1. If you remove it, it won’t create more confusion (I think the previous setting was out of mistake: in 015f5b7131ee, there was no overriding, but every namespace was set one-by-one for this project, and I suppose someone hadn’t noticed that there was 0 instead of 1).