Page MenuHomePhabricator

subcat count > 0 for cats with no subcats on dewiki
Closed, DeclinedPublic

Description

The Api request http://de.wikipedia.org/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:See_in_Europa&gcmnamespace=14&prop=categoryinfo returns
<page pageid="1855081" ns="14" title="Kategorie:Stausee in Europa">
<categoryinfo size="563" pages="562" files="0" subcats="1" />
</page>
but category "Stausee in Europa" has no subcats. Same with [[:de:Kategorie:Vorlage:Babel-Herkunft]].

You easily can see that bug at http://de.wikipedia.org/w/index.php?title=Spezial:Kategorienbaum&target=Stausee+in+Europa+&mode=categories&dotree=Laden or http://de.wikipedia.org/w/index.php?title=Spezial:Kategorienbaum&target=Vorlage%3ABabel-Herkunft&mode=categories&dotree=Laden
1 K (= 1 expected subcategory) mentioned in brakets but no subcats are listed.


Version: unspecified
Severity: major
Whiteboard: aklapper-moreinfo

Details

Reference
bz16614

Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:25 PM
bzimport set Reference to bz16614.
bzimport added a subscriber: Unknown Object (MLST).
Merl created this task.Dec 11 2008, 9:03 AM

ayg wrote:

Need to refine the check on category pages to also make sure that zero counts match up with the category table, probably. I'm guessing it currently only checks against the category table count if the correct count is nonzero.

ayg wrote:

Re dependency on 16660: this should really be fixed so that it doesn't happen again/automatically fixes itself, not just by running a script on Wikimedia.

brion added a comment.Dec 16 2008, 2:02 AM

Many of those things require both. ;)

guandalug wrote:

By the way, the same problem appears for Kategories that claim to have one file in 'em, but are in fact empty. Seems to be a related bug.

(In reply to comment #0)

http://de.wikipedia.org/w/api.
php?action=query&generator=categorymembers&gcmtitle=Category:
See_in_Europa&gcmnamespace=14&prop=categoryinfo

The URL does not provide that output anymore:
<api>

<query-continue>
  <categorymembers gcmcontinue="page|214c4953544520444552205345454e20494e204f5354455252454943480a4c4953544520444552205345454e20494e20c396535445525245494348|177702" />
</query-continue>

</api>

merl: How to test if this is still a problem?

Unfortunately closing this report as no testcase is available (anymore).

merl: Please feel free to reopen this report if you can provide the information asked for and if this still happens. Thanks!