Page MenuHomePhabricator

Category gives wrong number of pages
Closed, DuplicatePublic


In this category are 13 categories and 315 pages, the category however shows 301 pages. (The magic word PAGESINCATEGORY: has the same issue.)

Can this be solved?

Event Timeline

Romaine created this task.Dec 30 2014, 2:27 PM
Romaine raised the priority of this task from to Needs Triage.
Romaine updated the task description. (Show Details)
Romaine added a subscriber: Romaine.
valhallasw set Security to None.
valhallasw added a project: acl*sre-team.
Aklapper triaged this task as Low priority.Dec 30 2014, 2:53 PM
Stryn added a subscriber: Stryn.Dec 30 2014, 8:31 PM

I noticed the same on the Finnish Wikipedia few months ago at (hmm is it a coincidence that both the nl-wiki and fi-wiki categories contains featured articles?)

The category says "281" pages, but there are currently 282 pages (at the time I write this).

I thought we solved this for smaller categories (less than X members) by allowing the purge action to refresh the category member count, maybe? This issue has definitely come up before.

tomasz removed a project: Shell.Feb 23 2015, 7:52 PM

What is the status of this bug?

This probably needs a maintenance script to be run to refresh the counts. @Legoktm and @Krenair: thoughts?

That said, I'm not sure I ever got a clear answer why purging the category description page isn't updating the count. I believe it should be working for a categories of a certain size. Maybe the limit is too low? Or maybe this feature is broken? We should investigate that.

This task might make sense to merge with T85696. (cc: @matmarex)

Given that we can apparently run populateCategory.php to fix the immediate issues, we should probably do that.

Ankry added a subscriber: Ankry.Dec 11 2015, 7:50 PM
WTM added a subscriber: WTM.Mar 31 2016, 7:59 PM