Last modified: 2012-05-04 17:54:33 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 T23230, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21230 - Category count is incorrect
Category count is incorrect
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-22 10:58 UTC by Mufka
Modified: 2012-05-04 17:54 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mufka 2009-10-22 10:58:55 UTC
I remember seeing that category counts can be slightly off because a member page might have been blanked and restored causing the page to temporarily drop out of the category.  It seems that the count can be off for other unexplained reasons.  As an example [[:en:Category:Days of the year]] usually shows about 344 member pages. The correct number is 366.  There are not enough regular page blankings to account for the difference in the true count vs. the displayed count.
Comment 1 Mufka 2010-06-11 11:22:31 UTC
It appears that this problem may have been recently fixed.
Comment 2 DieBuche 2010-12-14 08:49:43 UTC
Shows 365. Unless a day is missing, this is still open.
Comment 3 Mufka 2010-12-14 11:18:27 UTC
There are 366 (none missing) but the display is still 365.  Something is still wrong.  It knows the correct count.  If you look at the two pages you see:
The following 200 pages are in this category, out of 365 total.
and
The following 166 pages are in this category, out of 365 total.
200 + 166 = 366.
Comment 4 Thehelpfulone 2012-04-30 16:24:30 UTC
This is very strange behaviour - it now shows 363 days, I don't think we've lost any days, but all the pages appear to be listed - maybe something's wrong with the category count?
Comment 5 Dan Michael Heggø 2012-05-04 17:54:33 UTC
I just came across the same bug here [[:no:Kategori:Trenger oppdatering]]

As of this writing, the category contains 252 articles, but the category page (and PAGESINCAT) says 251.

The two category pages says (translated to English):
1. The following 200 pages are in this category, out of 251 total
2. The following 52 pages are in this category, out of 251 total

Clearly 200 + 52 = 252, not 251. Counting category members using the API also results in 252.

I've even tried purging all the pages in the category, but the counter didn't change.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links