Page MenuHomePhabricator

Special:Popularpages ignores $wgContentNamespaces
Closed, ResolvedPublic

Description

Author: wilson.jim.r

Description:
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.


Version: unspecified
Severity: enhancement

Details

Reference
bz9231

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:41 PM
bzimport set Reference to bz9231.
bzimport added a subscriber: Unknown Object (MLST).

wilson.jim.r wrote:

Causes Special:Popularpages to respect $wgContentNamespaces

Attached:

robchur wrote:

Attached patch looks sane.

wilson.jim.r wrote:

Thank you very much!