https://bugzilla.wikimedia.org/show_bug.cgi?id=18804

           Summary: Special pages use NS_MAIN instead of ContentNamespaces
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Special pages
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=6120)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6120)
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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to