Manual:recountCategories.php
Jump to navigation
Jump to search
MediaWiki version: | 1.30 |
MediaWiki file: recountCategories.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.35.1 • 1.31.12 |
Classes: | RecountCategories |
Details[edit]
recountCategories.php is a maintenance script used to update the counts of category members, if the numbers displayed on category pages are inaccurate. During normal operation, it shouldn't be needed to run this script. However, a bug may cause the counts to not update properly (see task T18036).
Usage[edit]
php maintenance/recountCategories.php --mode=pages php maintenance/recountCategories.php --mode=subcats php maintenance/recountCategories.php --mode=files
Parameters[edit]
Option/Parameter | Description |
---|---|
--mode | Required. Which category count column to recompute: one of pages , subcats or files .
|
--begin | Only recount categories with cat_id greater than the given value |
--throttle | Wait this many milliseconds after each batch. Default: 0 |