Page MenuHomePhabricator
Paste P18738

(An Untitled Masterwork)
ActivePublic

Authored by Legoktm on Sat, Jan 15, 1:01 AM.
legoktm@mwmaint1002:~$ mwscript recountCategories.php --wiki=aawiki --mode pages
Finding up to 500 drifted rows greater than cat_id 0...
Done! Updated the pages counts of 0 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.
legoktm@mwmaint1002:~$ mwscript recountCategories.php --wiki=testwiki --mode pages
Finding up to 500 drifted rows greater than cat_id 0...
Updating cat_pages field on 2 rows...
Finding up to 500 drifted rows greater than cat_id 106869...
Done! Updated the pages counts of 2 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.
legoktm@mwmaint1002:~$ mwscript recountCategories.php --wiki=mediawikiwiki --mode pages
Finding up to 500 drifted rows greater than cat_id 0...
Updating cat_pages field on 78 rows...
Finding up to 500 drifted rows greater than cat_id 687221...
Done! Updated the pages counts of 78 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.