Jump to content
MediaWiki

Manual:refreshExternallinksIndex.php

From mediawiki.org
Languages:
MediaWiki version:
≥ 1.33
MediaWiki file: refreshExternallinksIndex.php
Location: maintenance/
Source code: master1.43.11.42.61.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.

See also

[edit ]

AltStyle によって変換されたページ (->オリジナル) /