Last modified: 2008-05-23 05:36:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14909, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12909 - Add category namespace to $wgNamespacesWithSubpages on mediawiki.org
Add category namespace to $wgNamespacesWithSubpages on mediawiki.org
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: High normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Categor...
: easy, shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-04 13:32 UTC by Anon Sricharoenchai
Modified: 2008-05-23 05:36 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Anon Sricharoenchai 2008-02-04 13:32:13 UTC
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
Comment 1 Robin Pepermans (SPQRobin) 2008-02-04 13:36:57 UTC
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)
Comment 2 Anon Sricharoenchai 2008-02-05 03:36:24 UTC
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.
Comment 3 JeLuF 2008-05-23 05:36:02 UTC
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),

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links