Operator: Richardcavell ( talk · contribs). I do not envisage that the bot or its code will ever be run by anyone else.
Time filed: 02:35, Tuesday March 8, 2011 ( UTC)
Automatic or Manually assisted: Automatic. It takes no input from the operator at all once it is running.
Programming language(s): C, in the C99 standard. It consists of about 5000 lines of source code in about 160 files, written by me. It uses libcurl, and parses XML manually using <string.h>. I have fully tested the bot in its own userspace using sandboxes etc.
Source code available: I don't wish to publish the source code on Wikipedia, as that would effectively license it under Creative Commons/GPL. I have published the code under the BSD and MIT licenses here : Sourceforge.
Function overview: Scan the Rove McManus page regularly and if quotes have been placed around the word "Comedian" in his biography, remove the quotes.
Links to relevant discussions (where appropriate): Quotes have been inserted around the word "Comedian" in Rove's biography over many years. It has happened 9 times in the last 12 months. The quotes are intended as sarcasm. At one point the bio contained a commented warning. See here for an example. The text of the warning has changed over time and someone has removed the warning, as the modern version of the page does not contain it.
Edit period(s): Continuous, once per hour.
Estimated number of pages affected: The bot can only edit Rove McManus, the talk page of the most recent author, and its own status page at User:RichardcavellBot/Status.
Exclusion compliant (Y/N): Not applicable. The present task request relates to vandalism.
Already has a bot flag (Y/N): No.
Function details: Scan the page Rove McManus to see whether quotes have been inserted around the word "Comedian". (The code handles combinations of spaces, double/single quotes, etc). If there are no quotes, sleep for an hour and run again. If there are quotes, check to see if they were placed by the most recent author by looking at the past revision made by the last-but-one author. If the most recent author is responsible for the quotes, rollback to the previous author's version (assuming all the current author's work is unconstructive) and place this warning - Template:RichardcavellBot-Rove on the current author's talk page. If the current author is not responsible for the quotes, delete the quotes and save the edited version without warning anyone.
The bot simulates rollback by retrieving a previous version of the page and presenting it as the new edit. I am not requesting rollback rights for the bot. The bot can be stopped by any user using this page : User:RichardcavellBot/Shutoff. The bot checks this page every time it loops.
Since this bot framework is new, I intend that a simple task like this also function as a test of the framework. I intend that future task requests will be more sophisticated.
How would the bot avoid false positives? For example "When asked about his profession, he smirked and said "comedian"." or "Time has published a song called "Comedian" to honor McManus.". Though unlikely, I have to point it out that the bot would have no idea of the content's context. Although 9 edits a year is hardly a lot.
Secondly, "assuming all the current author's work is unconstructive" is a very broad assumption and in par with vandalism reversion. However, as far as the description goes, no parsing for vandalism is actually performed. The bot should remove the quotes, not all the material. If a human later deems that the rest of the changed content is also uncontructive, then the whole edit can be reversed.
You should strike or explain "The present task request relates to vandalism." in exclusion compliance field. I understand that this is just one page, so the field should say "No, as task is only for 1 page" or something. But I don't see how this is relevant to vandalism?
Finally, per BOTPOL you should show consensus to do this task by bot. Again, I realize it's just one page, but if somebody later raises this issue, I won't be able to point to consensus based on which this was approved. — HELLKNOWZ ▎ TALK 09:43, 9 March 2011 (UTC) reply
This is a horrible task for a bot, and should not be approved in my opinion. Approving this would enforce one editors stylistic and content issue, and enforce that opinion through an automated process. Additionally, Snottywong's comment above points out how this task isn't even really useful. The operator could easily watchlist the page, and simply check up on it periodically.
—
V = IR (
Talk •
Contribs)
18:28, 21 March 2011 (UTC)
reply
Denied. The bot is indiscriminate to false positives. There is also no pressing need to implement this, as the page can be easily watchlisted. Some opposition here and no voiced support leads me to conclude that this is not an ideal task for a bot. —
HELLKNOWZ ▎
TALK
18:37, 21 March 2011 (UTC)
reply