Operator: Rspeer
Automatic or Manually assisted: Automatic, unsupervised
Programming language(s): Python
Source code available: https://code.google.com/p/rselectionbot/
Function overview: Making a standard page in Wikipedia space that lists people who have voted in the 2010 ArbCom election. (Fulfilling a bot request.)
Links to relevant discussions (where appropriate): Wikipedia:Bot requests#ArbCom election bots
Edit period(s): Ideally every 10 minutes
Estimated number of pages affected: 1
Exclusion compliant (Y/N): N - the reason for the existence of this page is so that a bot can edit it.
Already has a bot flag (Y/N): N
Function details: The bot will edit Wikipedia:Arbitration Committee Elections December 2009/Voter log to populate it with the content of Special:SecurePoll/vote/80, and allow people to make comments under particular voters if necessary.
It takes steps to avoid inadvertently reverting. All comments are considered to be attached to the vote template above them. If comments are attached to a vote that doesn't actually exist, its comments go in a section called "Orphaned comments". The script does "own" the actual lines with vote templates on them, however: it will frequently overwrite them so that it can update the timestamp if people re-vote.
It will use python-wikitools to edit the page. Currently, it just prints the desired page content to standard out, and I use it to manually edit the page.
At Wikipedia:Arbitration Committee Elections December 2009/Voter log, you can see its output, in the form of manual copy-paste edits that I made from its output.
Anyone willing to respond to this? The election is already running, after all, and making manual updates is tiring. rspεεr ( talk) 22:29, 2 December 2009 (UTC) reply
{{ BAGAssistanceNeeded}} Due to time-sensitivity. -- Cybercobra (talk) 09:40, 3 December 2009 (UTC) reply
# {{UserEL|A Nobody}} 05:54, 3 December 2009
I looked over the code. It looks like as soon as it finds a name not in the voting list then every name after that will be dumped in "[UNKNOWN]" (and then new lines will be added for everyone that was so dumped); is that intended behavior? Also, I think it might add a duplicate "=== Orphaned comments ===" header each time through, because it will include the existing header in the "[UNKNOWN]" and then prepend a new one. Anomie ⚔ 05:14, 5 December 2009 (UTC) reply
Speedily Approved. Ok, it seems to work. Keep an eye out if anyone ever does get around to commenting on someone's vote. Anomie ⚔ 13:34, 8 December 2009 (UTC) reply
Operator: Rspeer
Automatic or Manually assisted: Automatic, unsupervised
Programming language(s): Python
Source code available: https://code.google.com/p/rselectionbot/
Function overview: Making a standard page in Wikipedia space that lists people who have voted in the 2010 ArbCom election. (Fulfilling a bot request.)
Links to relevant discussions (where appropriate): Wikipedia:Bot requests#ArbCom election bots
Edit period(s): Ideally every 10 minutes
Estimated number of pages affected: 1
Exclusion compliant (Y/N): N - the reason for the existence of this page is so that a bot can edit it.
Already has a bot flag (Y/N): N
Function details: The bot will edit Wikipedia:Arbitration Committee Elections December 2009/Voter log to populate it with the content of Special:SecurePoll/vote/80, and allow people to make comments under particular voters if necessary.
It takes steps to avoid inadvertently reverting. All comments are considered to be attached to the vote template above them. If comments are attached to a vote that doesn't actually exist, its comments go in a section called "Orphaned comments". The script does "own" the actual lines with vote templates on them, however: it will frequently overwrite them so that it can update the timestamp if people re-vote.
It will use python-wikitools to edit the page. Currently, it just prints the desired page content to standard out, and I use it to manually edit the page.
At Wikipedia:Arbitration Committee Elections December 2009/Voter log, you can see its output, in the form of manual copy-paste edits that I made from its output.
Anyone willing to respond to this? The election is already running, after all, and making manual updates is tiring. rspεεr ( talk) 22:29, 2 December 2009 (UTC) reply
{{ BAGAssistanceNeeded}} Due to time-sensitivity. -- Cybercobra (talk) 09:40, 3 December 2009 (UTC) reply
# {{UserEL|A Nobody}} 05:54, 3 December 2009
I looked over the code. It looks like as soon as it finds a name not in the voting list then every name after that will be dumped in "[UNKNOWN]" (and then new lines will be added for everyone that was so dumped); is that intended behavior? Also, I think it might add a duplicate "=== Orphaned comments ===" header each time through, because it will include the existing header in the "[UNKNOWN]" and then prepend a new one. Anomie ⚔ 05:14, 5 December 2009 (UTC) reply
Speedily Approved. Ok, it seems to work. Keep an eye out if anyone ever does get around to commenting on someone's vote. Anomie ⚔ 13:34, 8 December 2009 (UTC) reply