Operator: Peter Karlsen (talk · contribs)
Time filed: 02:52, Monday October 18, 2010 (UTC)
Automatic or Manually assisted: Automatic
Programming language(s): Python
Source code available: Standard pywikipedia
Function overview: Removal of invisible comments left over from recent template maintenance
Links to relevant discussions (where appropriate):
Edit period(s): one time run
Estimated number of pages affected: 1000
Exclusion compliant (Y/N): Yes, native to pywikipedia
Already has a bot flag (Y/N): Yes
Function details: I recently fixed a number of swapped svg icons on railroad templates, which required each template to be visually inspected to determine whether the icons had already been reversed by another user, using a semi-automated script, per Wikipedia:Bot_requests#svg_icon_swap. In the course of this process invisible comments of the form <!-- swapped CONTr and CONTl icons --> were added, to enable the script to automatically avoid templates I had previously reviewed, even if they had been moved to different page titles. Now that they are no longer needed, all such comments in the templates I edited would be removed.
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. MBisanz talk 05:25, 27 October 2010 (UTC)[reply]
Approved. Still not entirely convinced by this, but it's a quick one day task. For similar tasks in future however, you should look into finding a better method of flagging the pages which are already changed (one which doesn't require each page to be individually tagged as changed, for example, listing the changed pages on a user sub page). - Kingpin13 (talk) 08:38, 5 November 2010 (UTC)[reply]