Wikipedia:Bots/Requests for approval/Sambot 12


Sambot 12

[[User:Sambot|Sambot]] 12

{{Newbot|Sambot|12}}

Operator: [[Sam Korn]] (smoddy)

Automatic or Manually Assisted: Automatic

Programming Language(s): PHP, using Pillar

Function Overview: Per Quadell's request, add or remove {{tlx|ffdc}} and {{tlx|deletable image-caption}} to image captions as appropriate

Edit period(s): Daily

Already has a bot flag (Y/N): Yes

Function Details:

The process is almost identical to Sambot 11; indeed, the code for the FFD part is the same, but for the substitution of the appropriate page names. The other part of the task goes through the following categories:

It then gets each of the daily categories, goes through each page and adds {{tlx|deletable image-caption}} as appropriate.

Code here and here

[[Sam Korn]] (smoddy) 13:54, 2 May 2009 (UTC)

=Discussion=

  • {{BotTrial|edits=50}} MBisanz talk 20:25, 2 May 2009 (UTC)

{{BotTrialComplete}} [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special:Contributions&dir=prev&offset=20090502100131&target=Sambot 50 edits]. One problem -- dropping a square bracket in [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Photo_manipulation&diff=prev&oldid=287511894 this edit] -- the mistake has been fixed.

A minor change has been made to the code -- the bot will no longer make edits when they will not show up, i.e. when neither thumb nor frame is present in the link. [[Sam Korn]] (smoddy) 21:32, 2 May 2009 (UTC)

:I looked over the code, and it's so beautiful I'm crying. (Well, I mean, it looks good to me.) – Quadell (talk) 00:22, 3 May 2009 (UTC)

  • {{BotApproved}} er... I guess that's a good thing! Anyhow, we know what to expect here, and I can't forsee any problems. Obviously, keep an eye on it and such, but you've made it easy for me at least to decide. - Jarry1250 (t, c) 16:56, 4 May 2009 (UTC)

:The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.