Page MenuHomePhabricator

Correct number of categories?
Open, LowPublicFeature

Description

Atm there is no way to return the correct number of categories, because {{PAGESINNS:14}} counts all pages like manually created redirects while {{NUMBEROFARTICLES}} excludes those.

The easiest way might be a global to define if redirects should be counted (default) or not for {{PAGESINNS}}.


Version: unspecified
Severity: enhancement

Details

Reference
bz21773

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:48 PM
bzimport set Reference to bz21773.
bzimport added a subscriber: Unknown Object (MLST).

Just for those who want to manually fix it: includes/SiteStats.php > static function pagesInNs( $ns )
array( 'page_namespace' => $ns ) to
array( 'page_namespace' => $ns, 'page_is_redirect' => '0' )

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM