Manual:populateLogSearch.php

This page is a translated version of the page Manual:PopulateLogSearch.php and the translation is 67% complete.
Other languages:
MediaWiki バージョン:
1.35

詳細

populateLogSearch.php file is a maintenance script to make the required database updates for populating the log_search table retroactively. This script migrates log params to the new table and index for searching.

This script runs by default when you run update.php . It processes 100 items in a batch. This script has been removed in Gerrit change 673672 (MediaWiki 1.36).

Options/Arguments

This script does not take any options or arguments.

Usage

php maintenance/populateLogSearch.php


Terminal
$ php maintenance/populateLogSearch.php

...doing log_id from 1 to 100

Done populating log_search table.


スクリプトが実行されるたびに、データベース内にメモが作成され、二度と実行されないようになります。 このスクリプトをもう一度実行したい場合は、コマンドに --force オプションを付けて実行してください。

See also