Show parent categories in category namespace
Closed, ResolvedPublic


Author: bugz-wikimedia

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.

Version: 1.12.x
Severity: enhancement

Attached: NoHiddenCategoriesInCategoryNamespace.diff

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz13140.
bzimport created this task.Via LegacyFeb 25 2008, 12:12 AM
bzimport added a comment.Via ConduitFeb 25 2008, 6:31 AM

harryboyles wrote:

You could try using $wgNamespaceNumber (which for categories is 14).

Huji added a comment.Via ConduitFeb 25 2008, 11:44 AM

Fixed with r31250, using a shorter way.

Add Comment