Jump to content

Manual:updateRestrictions.php

From mediawiki.org
This page is a translated version of the page Manual:UpdateRestrictions.php and the translation is 75% complete.
MediaWiki バージョン:
1.9

詳細

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
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。

関連項目