Page MenuHomePhabricator

__NOGALLERY__ prevents categories from displaying the total number of pages
Closed, ResolvedPublic

Description

Author: brad9626

Description:
NOGALLERY occasionally prevents the "The following xxx files are in this category, out of xxx total." from displaying. Instead, it says "The following xxx pages are in the current category." See [[:commons:Category:Deletion requests]] for an example. This only seems to happen when the category has more than 200 members. If the NOGALLERY is removed, the category has no problem showing the total number regardless of size.


Version: 1.15.x
Severity: normal

Details

Reference
bz18663

Event Timeline

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

herd wrote:

It seems to simply confuse the category count method:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/CategoryPage.php?view=annotate#l466

This has come up before, but I don't see an open bug for it...

Fixing up the category count method, and NOGALLERY for the new category schema in general, happens to fix this bug. (r80433 and r80432)