Manual:updateRestrictions.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.9
<translate> MediaWiki version:</translate> |
MediaWiki file: updateRestrictions.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | UpdateRestrictions |
Details
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
This script does not accept any options.
Usage
php maintenance/updateRestrictions.php
Terminal
$ php maintenance/updateRestrictions.php ...processing page IDs from 0 to 1000. ...Done!