Jump to content

Manual:CreateBotPassword.php/pl

From mediawiki.org
This page is a translated version of the page Manual:CreateBotPassword.php and the translation is 6% complete.
Wersja MediaWiki:
1.35

Details

createBotPassword.php file is a maintenance script to create a bot password for a user. See Manual:Bot passwords for more information.

Options/Arguments

Option/Argument Description Required?
<user> The username to create a bot password for Wymagane
<password> A password will be generated if this is omitted. If supplied, it must be exactly 32 characters Optional
--showgrants Prints a description of available grants Optional
--appid App id for the new bot password Optional
--grants CSV list of permissions to grant Optional


Usage

php maintenance/run.php createBotPassword [ <user>| <password>| --showgrants| --appid| --grants ]
W wersji MediaWiki MediaWiki 1.39 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.

See the grants available

Terminal

Create a new bot account

Terminal
Uwaga Uwaga: 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.

Zobacz też