Manual:refreshExternallinksIndex.php
Appearance
From mediawiki.org
MediaWiki version:
≥ 1.33
MediaWiki file: refreshExternallinksIndex.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
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 ]phpmaintenance/run.phprefreshExternallinksIndex
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.12 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.