Wikipedia:Bots/Requests for approval/SVGBot
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Approved.
Operator: ChristianBier (talk) (Administrator on Commons)
Automatic or Manually Assisted: Manually Assisted
Programming Language(s): AutoWikiBrowser
Function Summary: replace PNG/GIF/JPG by SVG
Edit period(s) (e.g. Continuous, daily, one time run): when needed / on request
Already has a bot flag (Y/N): N (only on IT-WP)
Function Details:
- replace PNG/GIF/JPG by SVG when SVG avaible
Discussion
[edit]Approved for trial (20 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. That will give us a fair idea of the extent and what it should be doing. — E ↗TCB 05:02, 3 August 2008 (UTC)[reply]
- No problem. But somebody has to approve the Account at Wikipedia:AutoWikiBrowser/CheckPage, so I can do a trial. ChristianBier (talk) 09:17, 3 August 2008 (UTC)[reply]
- Okay, the account's been approved for trial. Go for it. – Quadell (talk) 13:50, 6 August 2008 (UTC)[reply]
- So, some test edits with some different graphics done. Hope that's okay. ChristianBier (talk) 22:17, 6 August 2008 (UTC)[reply]
- Okay, the account's been approved for trial. Go for it. – Quadell (talk) 13:50, 6 August 2008 (UTC)[reply]
Are you manually giving the bot a list of PNGs that can be replaced? Does your code say "[[Image:green up.png]] -> [[Image:Green Arrow Up.svg|12px]]"? Or is it searching all non-SVGs on the page, looking at their image descriptions, and seeing if any say an SVG is available to replace? – Quadell (talk) 14:07, 7 August 2008 (UTC)[reply]
- I manually give the bot a list for replaces. ChristianBier (talk) 14:31, 7 August 2008 (UTC)[reply]
Approved. Just be careful to double-check a few examples for each substitution, and specify pixel widths when necessary. – Quadell (talk) 14:43, 7 August 2008 (UTC)[reply]
- 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.