- Either use git to clone this repo or copy-paste the contents of
main.pyto a local directory. - Install the latest version of mwcleric using
pip install -U mwcleric - Set up a bot password for wiki.gg. Give it basic rights, editing pages, editing protected pages, changing protection levels of pages, moving pages, and editing system messages.
- Note, usually you don't want to give passwords both edit system messages & high-volume editing, so try and use a unique password for just this one script.
- Set the target to the wiki you want (by default,
gg.wiki.gg, the testing wiki) - Run the script.
- The first time you run the script, you'll be prompted by
AuthCredentialsto enter your username, bot name, and bot password. If you're usinguse_site_pw=Trueyou'll also be asked for the user-pass combination to view the wiki.- If you don't set
use_site_pw=Truethe first time you run the script, you can either make a new set of credentials and add the dev user/pass that time or add the fieldssite_userandsite_pwto the json located at~/.config/mwcleric/wiki_account_me.json(e.g. for me on Windows this isC:/Users/River/.config/mwcleric/wiki_account_me.json)
- If you don't set