Manual:populateLogUsertext.php

From Linux Web Expert

Revision as of 20:20, 23 February 2022 by imported>APaskulin (WMF)
(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>

Details

populateLogUsertext.php file is a maintenance script to make the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change. All remaining page_restriction column values are moved to the new table.

This script is run automatically by update.php and processes 100 items in a batch.

Options/Arguments

This script does not take any options or arguments.

Usage

php maintenance/populateLogUsertext.php


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

See also