Manual:populateLogSearch.php

From Linux Web Expert

Revision as of 04:53, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.35</tvar> is unsupported version</translate>">
<translate> ≤</translate> 1.35
<translate> MediaWiki version:</translate>

詳細

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


<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>

See also