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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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