Manual:Rebuildall.php

Details
rebuildall.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script to rebuild the links and indices used for searching your site.

You should run this script after importing some data into your wiki. It will populate the catlinks>Special:MyLanguage/Manual:Categorylinks table|categorylinks, pglinks>Special:MyLanguage/Manual:Pagelinks table|pagelinks, and imglinks>Special:MyLanguage/Manual:Imagelinks table|imagelinks tables and refresh the searchindex>Special:MyLanguage/Manual:Searchindex table|search index. It will not import or "register" images (even if they are in upload directory and there are articles referencing them). You should use the  or  scripts to do this.

Options/Arguments
This script does not take any options or arguments.