Manual:Rebuildall.php

MediaWiki version:
1.2
Category:MediaWiki code#Rebuildall.php

Details

rebuildall.php file is a 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 categorylinks, pagelinks, and imagelinks tables and refresh the searchindex table. It will not import or "register" images (even if they are in upload directory and there are articles referencing them). You should use the rebuildImages.php or importImages.php scripts to do this.

This script is equivalent to running rebuildtextindex.php followed by rebuildrecentchanges.php , and finally followed by refreshLinks.php . Note that running this script marks all previously patrolled edits as unpatrolled.

Options/Arguments

This script does not take any options or arguments.

Usage

php maintenance/run.php rebuildall
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

Category:Maintenance scripts#Rebuildall.php Category:Content maintenance scripts
Category:Content maintenance scripts Category:Maintenance scripts Category:MediaWiki code