On page https://cs.wikipedia.org/wiki/Kategorie:Údržba:Stránky_k_přejmenování the counter next to "Údržba:Kategorie k přejmenování" says "4 cats, -1 pages"
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | Feature | None | T18660 Database table cleanup (tracking) | ||
Duplicate | None | T18036 Number of category members (PAGESINCATEGORY) is inaccurate for large categories | |||
Resolved | TTO | T18765 Write a maintenance script to refresh category member counts | |||
Resolved | Urbanecm | T170737 Run recountCategories.php on Wikimedia wikis | |||
Resolved | Urbanecm | T228585 Counter for pages in category is below zero |
Event Timeline
Comment Actions
Mentioned in SAL (#wikimedia-operations) [2019-11-18T12:51:15Z] <Urbanecm> Run mwscript recountCategories.php --wiki=cswiki --mode={subcats,pages,files} (T228585)
Comment Actions
Recounted.
[urbanecm@mwmaint1002 ~]$ mwscript recountCategories.php --wiki=cswiki --mode=subcats Finding up to 500 drifted rows starting at cat_id 500... Updating cat_subcats field on 68 rows... Finding up to 500 drifted rows starting at cat_id 500... Done! Updated the subcats counts of 68 categories. Now run the script using the other --mode options if you haven't already. [urbanecm@mwmaint1002 ~]$ mwscript recountCategories.php --wiki=cswiki --mode=pages Finding up to 500 drifted rows starting at cat_id 500... Updating cat_pages field on 443 rows... Finding up to 500 drifted rows starting at cat_id 500... Done! Updated the pages counts of 443 categories. Now run the script using the other --mode options if you haven't already. Also run 'php cleanupEmptyCategories.php --mode remove' to remove empty, nonexistent categories from the category table. [urbanecm@mwmaint1002 ~]$ mwscript recountCategories.php --wiki=cswiki --mode=files Finding up to 500 drifted rows starting at cat_id 500... Done! Updated the files counts of 0 categories. Now run the script using the other --mode options if you haven't already. [urbanecm@mwmaint1002 ~]$
Comment Actions
Different topic for a separate discussion, plus that proposal will likely not perform. :)