Last modified: 2007-03-08 22:40:38 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 T11231, the corresponding Phabricator task for complete and up-to-date bug report information.
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