Page MenuHomePhabricator

Default config for $wgNamespacesWithSubpages not working on Wikivoyages
Closed, InvalidPublic

Description

There are some namespaces across all wikis suposed to have subpages enabled however, for Wikivoyages, if we do not explicitly enable them for the namespaces we want the defaults ain't applying.

See for example https://es.wikivoyage.org/wiki/Plantilla:Bots/doc and https://de.wikivoyage.org/wiki/Vorlage:Bots/Doku

The NS_TEMPLATE should have subpages by default on all projects according to the config. Yet on es.wikivoyage template subpages ain't working.

Event Timeline

es.wikivoyage has subpages enabled for NS_TEMPLATE:

https://es.wikivoyage.org/wiki/Especial:ApiSandbox#action=query&format=json&meta=siteinfo&siprop=namespaces

"10": {
           "id": 10,
           "case": "first-letter",
           "subpages": "",
           "canonical": "Template",
           "*": "Plantilla"
       },

In fact, if you inspect the HTML, the link to the parent page is there. But hidden by this CSS rule in https://es.wikivoyage.org/wiki/MediaWiki:Common.css

.client-js #contentSub { display: none; }

I guess the same happens on de.wikivoyage

I can see the links on dewikivoyage, but not on any other wikivoyages so far I've tested (en, fr, es). Let me see if removing that line of JS would fix the issue.

Actually that JS is needed until T113642 is fixed as far as I can see.

Urbanecm subscribed.

Hidden by on-wiki CSS, impossible to fix from this side.