Manual:PopulateCategory.php/en

Details
populateCategory.php file is a maintenance script to populate the table. This table keeps track of how many articles, files and subcategories are in a category. It is also used for displaying information on Special:Categories page. This script is automatically run by update.php if updating from before MediaWiki 1.13.

If you have incorrect counts of how many articles are in a category, see $1 instead.