Last modified: 2008-05-23 16:26:25 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 T15691, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wiktionary.org/wiki/Kategor...
:
Depends on:
Blocks:
  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: ---


Attachments

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

See http://de.wiktionary.org/wiki/Kategorie:Deutsch?action=purge (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.


Navigation
Links