Manual:updateRestrictions.php
MediaWiki version: | ≥ 1.9 |
MediaWiki file: updateRestrictions.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | UpdateRestrictions |
Details
editupdateRestrictions.php file is a maintenance script, that updates page_restrictions
table from old page_restriction
column.
It processes 1000 items in every batch.
Options
editThis script does not accept any options.
Usage
editphp maintenance/updateRestrictions.php
Terminal
$ php maintenance/updateRestrictions.php ...processing page IDs from 0 to 1000. ...Done!