Skip to content

Instantly share code, notes, and snippets.

@AugurNZ
Created August 20, 2013 04:09
Show Gist options
  • Save AugurNZ/6277032 to your computer and use it in GitHub Desktop.
Save AugurNZ/6277032 to your computer and use it in GitHub Desktop.
This is the shell script I am trying to use to instruct Pywikipediabot to set all of the status pages to idle, then log out of the Orain wiki farm. I have used chmod +x to make it executable, but it keeps coming up with errors and failing at the first ":" colon it encounters.
#!/usr/bin/env python
replace.py -family:orain -lang:en -page:User:No8WiredBot/status go idle
replace.py -family:orain -lang:bot -page:User:No8WiredBot/status go idle
replace.py -family:orain -lang:bot1 -page:User:No8WiredBot/status go idle
replace.py -family:orain -lang:bot2 -page:User:No8WiredBot/status go idle
login.py -family:orain -all -clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment