Manual:populateLogSearch.php
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.36</tvar>.</translate> |
<translate> ≤</translate> 1.35
<translate> MediaWiki version:</translate> |
MediaWiki file: populateLogSearch.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | PopulateLogSearch |
Details
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.
<translate> Whenever the script runs, it makes a note in the database and will not run again.</translate> <translate> If you want to run the script again, run the command with the <tvar name=1>--force</tvar> option.</translate>