Secretaribot: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
m (New README at github)
m (New README at github)
Line 11: Line 11:
Usage: death_to_wikispammers [username] Downloads a list of recently created users, starting at the username given. One by one, shows their user page via STDOUT. Delete user page and block for spam? it asks, [y/n] If yes, deletes user page, blocks user for spamming If no, goes onto next
Usage: death_to_wikispammers [username] Downloads a list of recently created users, starting at the username given. One by one, shows their user page via STDOUT. Delete user page and block for spam? it asks, [y/n] If yes, deletes user page, blocks user for spamming If no, goes onto next


=== make.py ===
=== make_readme.py ===


Meta-helper script to write the README in this directory to the Secretaribot page on the NB wik.
Meta-helper script to write the README in this directory to the Secretaribot page on the NB wik.


=== pywikibot.py ===
=== pywikipediabot.py ===


Looks for and loads the pywikipediabot library from environment variable $PYWIKIBOT_DIR.
Looks for and loads the pywikipediabot library from environment variable $PYWIKIBOT_DIR.

Revision as of 18:45, 3 July 2011

"Go away or I will replace you with a very small shell script"

Secretaribot is actually a few (quite small) python scripts, which, along with Noisebot, help out the Noisebridge collective with housekeeping tasks.

This document is automagically created by make.py and README.intro in the Secretaribot repository at github, which is written out to the Secretaribot's page on the Noisebridge wiki.

death_to_wikispammers

Usage: death_to_wikispammers [username] Downloads a list of recently created users, starting at the username given. One by one, shows their user page via STDOUT. Delete user page and block for spam? it asks, [y/n] If yes, deletes user page, blocks user for spamming If no, goes onto next

make_readme.py

Meta-helper script to write the README in this directory to the Secretaribot page on the NB wik.

pywikipediabot.py

Looks for and loads the pywikipediabot library from environment variable $PYWIKIBOT_DIR.