Manual:CreateBotPassword.php/ja

MediaWiki バージョン:
1.35
Category:MediaWiki code/ja#CreateBotPassword.php

詳細

createBotPassword.php ファイルは、利用者のボットのパスワードを作成するメンテナンス スクリプトです。 詳細情報は Manual:ボットパスワード を参照してください。

オプション/引数

オプション/引数説明必須かどうか
<user>The username to create a bot password for必須
<password>A password will be generated if this is omitted. If supplied, it must be exactly 32 characters省略可能
--showgrantsPrints a description of available grants省略可能
--appidApp id for the new bot password省略可能
--grantsCSV list of permissions to grant省略可能

使用法

php maintenance/run.php createBotPassword [ <user>| <password>| --showgrants| --appid| --grants ]
MediaWiki バージョン 1.39.12 以前では、メンテナンス スクリプトを php maintenance/run.php scriptName ではなく php maintenance/scriptName.php を使用して実行する必要があります。

See the grants available

Terminal

Create a new bot account

Terminal
警告 警告: The grant "basic" is not optional! If you forget the grant "basic", you can see the cryptic error "readapidenied" when you use the MediaWiki API.

関連項目

Category:Maintenance scripts/ja Category:User maintenance scripts/ja
Category:Maintenance scripts/ja Category:MediaWiki code/ja Category:User maintenance scripts/ja