Jump to content

Manual:updateRestrictions.php

From mediawiki.org
MediaWiki version:
1.9

Details

[edit]

updateRestrictions.php file is a maintenance script, that updates page_restrictions table from old page_restriction column.

It processes 1000 items in every batch.

Options

[edit]

This script does not accept any options.

Usage

[edit]
php maintenance/run.php updateRestrictions
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]