Manual:PopulateCategory.php

Details
populateCategory.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|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 Manual:recountCategories.php instead.