Last modified: 2009-05-15 11:06:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20804, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18804 - Special pages use NS_MAIN instead of ContentNamespaces
Special pages use NS_MAIN instead of ContentNamespaces
Status: RESOLVED DUPLICATE of bug 8130
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-15 11:01 UTC by Lucas Garczewski
Modified: 2009-05-15 11:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch (based on 1.14) (4.35 KB, patch)
2009-05-15 11:01 UTC, Lucas Garczewski
Details

Description Lucas Garczewski 2009-05-15 11:01:30 UTC
Created attachment 6120 [details]
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.
Comment 1 Roan Kattouw 2009-05-15 11:06:57 UTC

*** This bug has been marked as a duplicate of bug 8130 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links