Manual:CreateBotPassword.php

Create a new bot via commandline
Example:

See the grants available
Example: GRANT               DESCRIPTION basic               basic blockusers          blockusers createaccount       Create new user accounts createeditmovepage  createeditmovepage delete              Delete pages editdata            editdata editinterface       Edit the user interface editmycssjs         editmycssjs editmyoptions       Edit your own preferences editmywatchlist     Edit your own watchlist. Note some actions will still add pages even without this right. editpage            editpage editprotected       Edit pages protected as "Allow only administrators" editsiteconfig      editsiteconfig highvolume          highvolume mergehistory        Merge the history of pages oversight           oversight patrol              Mark others' edits as patrolled privateinfo         privateinfo protect             Change protection levels and edit cascade-protected pages rollback            Quickly rollback the edits of the last user who edited a particular page sendemail           Send email to other users uploadeditmovefile  uploadeditmovefile uploadfile          uploadfile viewdeleted         viewdeleted viewmywatchlist     View your own watchlist viewrestrictedlogs  viewrestrictedlogs