Page MenuHomePhabricator

Special pages use NS_MAIN instead of ContentNamespaces
Closed, ResolvedPublic

Description

Author: lgarczewski

Description:
Patch (based on 1.14)

Various special pages use a hardcoded NS_MAIN value, where they should be using $wgContentNamespaces.

While this is not an issue at Wikimedia sites, it does affect other installations, including various Wikia sites, that use custom namespaces extensively.

I've attached a patch that corrects this in:

  • SpecialFewestrevisions.php
  • SpecialLonelypages.php
  • SpecialUncategorizedpages.php
  • SpecialWithoutinterwiki.php
  • SpecialAncientpages.php
  • SpecialDeadendpages.php

There might be other cases still. The patch is based on MW 1.14.


Version: unspecified
Severity: minor

Attached:

Details

Reference
bz18804

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:38 PM
bzimport set Reference to bz18804.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 8130 ***