Last modified: 2008-02-25 11:44:37 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 T15140, the corresponding Phabricator task for complete and up-to-date bug report information.
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