Manual:refreshExternallinksIndex.php
Appearance
MediaWiki version: | ≥ 1.33 |
MediaWiki file: refreshExternallinksIndex.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | RefreshExternallinksIndex |
Details
[edit]refreshExternallinksIndex.php is a maintenance script that refreshes the externallinks table el_index
and el_index_60
fields based on the el_to
field.
This script runs by default when you run update.php . It processes 10,000 items in every batch.
Options
[edit]This script does not take any options.
Usage
[edit]php maintenance/run.php refreshExternallinksIndex
Terminal
$ php maintenance/run.php refreshExternallinksIndex Updating externallinks table index fields el_id 0 - 44 of 44 Done, 13 rows updated, 1 deleted.
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.