Show parent categories in category namespace
Closed, ResolvedPublic

Description

Author: bugz-wikimedia

Description:
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

Details

Reference
bz13140
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz13140.

harryboyles wrote:

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

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

Fixed with r31250, using a shorter way.

Add Comment