Manual:UpdateRestrictions.php/ja
MediaWiki バージョン: | ≧ 1.9 |
MediaWiki ファイル: updateRestrictions.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.43.1 • 1.42.6 • 1.39.12 |
クラス: | 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 バージョン 1.39.12 以前では、メンテナンス スクリプトを
php maintenance/run.php scriptName
ではなく php maintenance/scriptName.php
を使用して実行する必要があります。