Manual:RecountCategories.php/en

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

Usage
 php maintenance/recountCategories.php --mode=pages php maintenance/recountCategories.php --mode=subcats php maintenance/recountCategories.php --mode=files