Page MenuHomePhabricator

enWikisource: template ns lost subpages
Closed, ResolvedPublic

Description

To my eye we have lost subpages in Template ns (though it may be that we never had them, though I do believe we did).

From InitialiseSettings.php what I see today

'wgNamespacesWithSubpages' => array( ...

'+enwikisource' => array( 0 => 1, 6 => 0, 8 => 0 ),

From several days ago, I believe that this is what the initialisesetting was ...

'wgNamespacesWithSubpages' => array( ...

'enwikisource'  => array( -1 => 0, 0 => 1, 1 => 1, 2 => 1, 3 => 1, 4 => 1, 5 => 1, 6 => 0, 7 => 1, 8 => 0, 9 => 1, 10 => 1, 11 => 1, 100 => 1, 101 => 1, 102 => 1, 103 => 1 ),

api data of today

https://en.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics|extensiontags|interwikimap|usergroups

<namespaces>
  <ns id="-2" case="first-letter" canonical="Media" xml:space="preserve">Media</ns>
  <ns id="-1" case="first-letter" canonical="Special" xml:space="preserve">Special</ns>
  <ns id="0" case="first-letter" subpages="" content="" xml:space="preserve" />
  <ns id="1" case="first-letter" subpages="" canonical="Talk" xml:space="preserve">Talk</ns>
  <ns id="2" case="first-letter" subpages="" canonical="User" xml:space="preserve">User</ns>
  <ns id="3" case="first-letter" subpages="" canonical="User talk" xml:space="preserve">User talk</ns>
  <ns id="4" case="first-letter" subpages="" canonical="Project" xml:space="preserve">Wikisource</ns>
  <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Wikisource talk</ns>
  <ns id="6" case="first-letter" canonical="File" xml:space="preserve">File</ns>
  <ns id="7" case="first-letter" subpages="" canonical="File talk" xml:space="preserve">File talk</ns>
  <ns id="8" case="first-letter" canonical="MediaWiki" xml:space="preserve">MediaWiki</ns>
  <ns id="9" case="first-letter" subpages="" canonical="MediaWiki talk" xml:space="preserve">MediaWiki talk</ns>
  <ns id="10" case="first-letter" canonical="Template" xml:space="preserve">Template</ns>
  <ns id="11" case="first-letter" canonical="Template talk" xml:space="preserve">Template talk</ns>
  <ns id="12" case="first-letter" subpages="" canonical="Help" xml:space="preserve">Help</ns>
  <ns id="13" case="first-letter" subpages="" canonical="Help talk" xml:space="preserve">Help talk</ns>
  <ns id="14" case="first-letter" canonical="Category" xml:space="preserve">Category</ns>
  <ns id="15" case="first-letter" subpages="" canonical="Category talk" xml:space="preserve">Category talk</ns>
  <ns id="100" case="first-letter" subpages="" canonical="Portal" xml:space="preserve">Portal</ns>
  <ns id="101" case="first-letter" subpages="" canonical="Portal talk" xml:space="preserve">Portal talk</ns>
  <ns id="102" case="first-letter" subpages="" canonical="Author" content="" xml:space="preserve">Author</ns>
  <ns id="103" case="first-letter" subpages="" canonical="Author talk" xml:space="preserve">Author talk</ns>
  <ns id="104" case="first-letter" subpages="" canonical="Page" content="" xml:space="preserve">Page</ns>
  <ns id="105" case="first-letter" subpages="" canonical="Page talk" xml:space="preserve">Page talk</ns>
  <ns id="106" case="first-letter" subpages="" canonical="Index" content="" xml:space="preserve">Index</ns>
  <ns id="107" case="first-letter" subpages="" canonical="Index talk" xml:space="preserve">Index talk</ns>
</namespaces>

Version: wmf-deployment
Severity: normal

Details

Reference
bz44638

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:32 AM
bzimport set Reference to bz44638.
bzimport added a subscriber: Unknown Object (MLST).

Related to Gerrit change 46826?

reedy@fenari:/home/wikipedia/common$ mwscript eval.php enwikisource

var_dump( $wgNamespacesWithSubpages );

array(32) {

[0]=>
int(1)
[6]=>
int(0)
[8]=>
int(0)
[9]=>
int(1)
[10]=>
int(0)
[11]=>
int(0)
[14]=>
int(0)
[1]=>
bool(true)
[2]=>
bool(true)
[3]=>
bool(true)
[4]=>
bool(true)
[5]=>
bool(true)
[7]=>
bool(true)
[15]=>
bool(true)
[16]=>
bool(true)
[17]=>
bool(true)
[18]=>
bool(true)
[12]=>
bool(true)
[13]=>
bool(true)
[19]=>
bool(true)
[100]=>
bool(true)
[101]=>
bool(true)
[102]=>
bool(true)
[103]=>
bool(true)
[104]=>
bool(true)
[105]=>
bool(true)
[106]=>
bool(true)
[107]=>
bool(true)
[108]=>
bool(true)
[109]=>
bool(true)
[110]=>
bool(true)
[111]=>
bool(true)

}