Podręcznik:UpdateRestrictions.php
Wersja MediaWiki: | ≥ 1.9 |
Plik MediaWiki: updateRestrictions.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.39.2 • 1.38.5 • 1.35.9 |
Klasy: | UpdateRestrictions |
Szczegóły
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!