Page MenuHomePhabricator

Add category namespace to $wgNamespacesWithSubpages on mediawiki.org
Closed, ResolvedPublic

Description

Author: anon.hui

Description:
In page name like, "Category:A/b/ccc", putting the variables,

{{BASEPAGENAME}}

{{SUBPAGENAME}}

yielding,

A/b/ccc

A/b/ccc

It should rather be,

A/b

ccc

Version: unspecified
Severity: normal
URL: http://www.mediawiki.org/wiki/Category:Help/fr

Details

Reference
bz12909

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 10:05 PM
bzimport set Reference to bz12909.
bzimport added a subscriber: Unknown Object (MLST).

This is because of the $wgNamespacesWithSubpages setting. It is by default disabled in category namespace.

So depending on the wiki, it will work or not. Where did you try this?

(See http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages for the setting)

anon.hui wrote:

I have tried this on www.mediawiki.org, where subpage is needed to categorize the individual language,
for example, http://www.mediawiki.org/wiki/Category:Help/fr

I change the product of this bug, as well.
Thank you.

jeluf wrote:

Done.

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