Manual:CreateBotPassword.php/pl

Wersja MediaWiki:
1.35
Category:MediaWiki code/pl#CreateBotPassword.php

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/ArgumentDescriptionRequired?
<user>The username to create a bot password forWymagane
<password>A password will be generated if this is omitted. If supplied, it must be exactly 32 charactersOptional
--showgrantsPrints a description of available grantsOptional
--appidApp id for the new bot passwordOptional
--grantsCSV list of permissions to grantOptional

Usage

php maintenance/run.php createBotPassword [ <user>| <password>| --showgrants| --appid| --grants ]
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

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ż

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