Last modified: 2008-02-25 11:44:37 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 13140 - Show parent categories in category namespace
Show parent categories in category namespace
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.12.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-25 00:12 UTC by Jack Schmidt
Modified: 2008-02-25 11:44 UTC (History)
2 users (show)

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


Attachments
Patch to disable hidden cat during display of cat page (626 bytes, patch)
2008-02-25 00:12 UTC, Jack Schmidt
Details

Description Jack Schmidt 2008-02-25 00:12:28 UTC
Created attachment 4672 [details]
Patch to disable hidden cat during display of cat page

__HIDDENCAT__ should not affect the display of Category namespace pages, otherwise you cannot navigate the category tree.

Note this affects 1.13-svn, but there is no option on bugzilla for that version.

I include a tested patch, which works on mediawiki svn r31239 (2008-02-24 18:09:10 -0500).

The patch uses the global variable wgTitle to get the current namespace.  There may be a more localized way of doing this.
Comment 1 Luke Boyling 2008-02-25 06:31:22 UTC
You could try using $wgNamespaceNumber (which for categories is 14).
Comment 2 Huji 2008-02-25 11:44:37 UTC
Fixed with r31250, using a shorter way.

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


Navigation
Links