Page MenuHomePhabricator

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


The Api request returns
<page pageid="1855081" ns="14" title="Kategorie:Stausee in Europa">
<categoryinfo size="563" pages="562" files="0" subcats="1" />
but category "Stausee in Europa" has no subcats. Same with [[:de:Kategorie:Vorlage:Babel-Herkunft]].

You easily can see that bug at or
1 K (= 1 expected subcategory) mentioned in brakets but no subcats are listed.

Version: unspecified
Severity: major
Whiteboard: aklapper-moreinfo



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).

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.

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)

The URL does not provide that output anymore:

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


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!