Manual:createBotPassword.php

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

詳細

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 省略可能
--showgrants Prints a description of available grants 省略可能
--appid App id for the new bot password 省略可能
--grants CSV list of permissions to grant 省略可能

使用法

php maintenance/createBotPassword.php [ <user>| <password>| --showgrants| --appid| --grants ]

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.

関連項目