Last modified: 2007-03-08 22:40:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9231 - Special:Popularpages ignores $wgContentNamespaces
Special:Popularpages ignores $wgContentNamespaces
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-08 21:37 UTC by Jim R. Wilson
Modified: 2007-03-08 22:40 UTC (History)
0 users

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


Attachments
Causes Special:Popularpages to respect $wgContentNamespaces (992 bytes, patch)
2007-03-08 21:39 UTC, Jim R. Wilson
Details

Description Jim R. Wilson 2007-03-08 21:37:29 UTC
Conceptually, $wgContentNamespaces - which defaults to array(NS_MAIN) - defines
a list of Namespaces containing content articles.  As opposed to Talk, Help,
Category, etc.

Special:Statistics uses this global in determining site statistics.  Shouldn't
Special:Popularpages respect the same list?

Here's documentation on the meaning and usage of $wgContentNamespaces:

http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces#Content_namespaces

I have a patch to implement this, which I will be attaching shortly.
Comment 1 Jim R. Wilson 2007-03-08 21:39:36 UTC
Created attachment 3325 [details]
Causes Special:Popularpages to respect $wgContentNamespaces
Comment 2 Rob Church 2007-03-08 22:01:31 UTC
Attached patch looks sane.
Comment 3 Aaron Schulz 2007-03-08 22:28:21 UTC
Applied in r20275.
Comment 4 Jim R. Wilson 2007-03-08 22:40:38 UTC
Thank you very much!

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


Navigation
Links