Manual:RecountCategories.php

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 and  and , the script was run on all public wikis 2021-06-23).