Page MenuHomePhabricator

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:

Details

Reference
bz13140

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:07 PM
bzimport set Reference to bz13140.
bzimport added a subscriber: Unknown Object (MLST).

harryboyles wrote:

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

Fixed with r31250, using a shorter way.