Last modified: 2008-05-23 16:26:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13691 - {{PAGESINCATEGORY:Category}} shows different number than MediaWiki:Category-article-count
{{PAGESINCATEGORY:Category}} shows different number than MediaWiki:Category-a...
Status: RESOLVED DUPLICATE of bug 14237
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-04-11 07:09 UTC by Melancholie
Modified: 2008-05-23 16:26 UTC (History)
3 users (show)

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


Description Melancholie 2008-04-11 07:09:36 UTC
{{PAGESINCATEGORY:Category}} sometimes shows different numbers than MediaWiki:Category-file-count.

See (31.432 / 31.369 right now).
Comment 1 Melancholie 2008-04-11 07:11:52 UTC
Sorry copied the wrong name; [[MediaWiki:Category-article-count]]!
Comment 3 Raimond Spekking 2008-04-11 07:39:25 UTC
{{PAGESINCATEGORY}} accumulates pages and subcategories.

@Melancholie: 31.432 pages in this category = 63 subcategories + [...] out of 31,369 total [pages].

@Sasa: Број чланака у категорији: 509 = 1 subcategory (see Ч) + [...] out of 508 total [pages].

Comment 4 Melancholie 2008-04-11 07:46:20 UTC
Aha. Is there also a {{SUBCATEGORIES:Category}}? It's pretty misleading the way it is now! (article-pages != subcategory-pages)
Comment 5 Sasa Stefanovic 2008-04-11 07:48:23 UTC
So, this means that we're wrong. Fine, but ... this magic word is *PAGES*INCATEGORY not PAGESANDSUBCATEGORIESINCATEGORY ... It is ok, but this could be done with different name or something. Thanks Raimond
Comment 6 Melancholie 2008-04-11 08:07:43 UTC
Maybe this behaviour is caused by a relict of the initial *recursive* version, see bug 6943#c2
Comment 7 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-04-11 13:20:41 UTC
PAGESINCATEGORY counts all pages, including category pages and image files.  The behavior is correct.

31.434 pages in this category
This category has the following 63 subcategories, out of 63 total. 
The following 137 pages are in this category, out of 31,371 total. 

31,371 + 63 = 31,434
Comment 8 Melancholie 2008-05-23 16:26:25 UTC

*** This bug has been marked as a duplicate of bug 14237 ***

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