Podręcznik:UpdateRestrictions.php
Appearance
| Wersja MediaWiki: | ≥ 1.9 |
| Plik MediaWiki: updateRestrictions.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| 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/run.php updateRestrictions
Terminal
$ php maintenance/run.php updateRestrictions ...processing page IDs from 0 to 1000. ...Done!
W wersji MediaWiki 1.43.6 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.