Manual:updateRestrictions.php
Appearance
| MediaWiki バージョン: | ≧ 1.9 |
| MediaWiki ファイル: updateRestrictions.php | |
|---|---|
| 場所: | maintenance/ |
| ソース コード: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| クラス: | UpdateRestrictions |
詳細
updateRestrictions.php file is a maintenance script, that updates page_restrictions table from old page_restriction column.
It processes 1000 items in every batch.
オプション
このスクリプトにはオプションはありません。
使用法
php maintenance/run.php updateRestrictions
Terminal
$ php maintenance/run.php updateRestrictions ...processing page IDs from 0 to 1000. ...Done!
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。