Manual:populateExternallinksIndex60.php
Appearance
この機能は、バージョン MediaWiki 1.40 で完全に除去されました。 |
| MediaWiki バージョン: | 1.32 – 1.39 |
| MediaWiki ファイル: populateExternallinksIndex60.php | |
|---|---|
| 場所: | maintenance/ |
| ソース コード: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| クラス: | PopulateExternallinksIndex60 |
詳細
populateExternallinksIndex60.php is a maintenance script that populates the el_index_60 field in the externallinks table.
el_index_60 is el_index truncated to 60 bytes to allow for sortable queries that aren't supported by a partial index.
This script runs by default when you run update.php. It processes 200 items in a batch.
オプション/引数
このスクリプトにはオプション/引数はありません。
使用法
php maintenance/run.php populateExternallinksIndex60
Terminal
$ php maintenance/run.php populateExternallinksIndex60 Populating externallinks.el_index_60... el_id 0 - 200 of 213 el_id 200 - 400 of 213 Done, 3 rows updated.
Whenever the script runs, it makes a note in the database and will not run again. If you want to run the script again, run the command with the --force option.
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。