https://bugzilla.wikimedia.org/show_bug.cgi?id=26411
--- Comment #16 from Bawolff (Brian Wolff) <[email protected]> --- (In reply to Robert Morley from comment #15) > Is it my imagination or has this not yet been published, despite being > noticed and corrected three years ago? It was noticed. It was not corrected. Dan proposed making a script that could be run manually to remove categories without any entries. I had some mild objections at the time. My biggest objection is that if we don't want such categories, we should have something automatic to remove them (ie not a maintenance script), where the comment 7 solution would require a human to press a button every so often to get rid of the extra categories. > > I've tagged this for the next release, but this is my first time doing that, > so if I did anything wrong, please correct me! Those tags aren't treated too seriously. Generally though I would only recommend setting target milestones if you are in a position to fix the bug. --------------- So possible solutions to this bug: *Have allcategories default to having the acmin parameter be 1. This is closer to the probable intent of users. Downside - will exclude pages in the category namespace that don't have any category members. However it should be noted that this is already the case. [[Category:*NSYNC members]] is a thing, but https://en.wikipedia.org/w/api.php?action=query&list=allcategories&acprefix=*N&aclimit=100&acprop=size doesn't include it. Another possible solution (perhaps more proper): Change line 3384 on includes/WikiPage.php to delete the entry in the category table iff. cat_pages = 0 and there is no description page for that category. If we did that, we would probably want to ensure that creation of a page in the category namespace creates an entry in the category table even if it has no entries. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
