Operator: Spellcheck (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 07:49, Friday, November 4, 2016 (UTC)
Automatic, Supervised, or Manual: Supervised
Programming language(s): Python
Source code available: Github (Editing functionality untested, pending trial approval)
Function overview: Assists in maintaining and creating pages in the United States presidential election imagemaps category, which are currently misaligned and only partially complete, and are easily generate-able.
Links to relevant discussions (where appropriate):
Edit period(s): One-time initial run, followed by manually-initiated runs as updates are needed or new pages are created
Estimated number of pages affected: 58 for the current set, plus one additional one every 4 years. Plus, any pages the templates are included in.
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): No?
Function details: Generates imagemaps programmatically, based on a curated set of state outlines, combined as needed for each year, and edits the imagemap templates to ensure consistency and accuracy.
It uses pywikibot for the edit functionality, which I believe I have configured correctly via pwb.py to log in via OAuth. I've set up a sub-account under my account for the bot, and created an OAuth Consumer for it to use.
The bot is generically named because I foresee using it for other similar tasks (editing large categories of pages that are generate-able), but this request is just for the initial functionality of the election imagemaps.
As a demonstration, I've copy/pasted the output from the bot to make a manual edit on the 2012 imagemap. This is the nature of the edits the bot would be making, plus a comment at the top noting that the content was generated. In order to see the improvement you'll have to open the old page alongside the new page and hover over the states - notice how the linked areas in the new version are much better aligned (compare, for instance, Florida). There are further improvements to be made - the callout labels are a mess, and DC isn't even included at all - put I plan to do an initial round of edits to fix the alignments, then get to work on the callout labels. Once that's done, I plan on generating maps for all the elections, starting with the modern-map ones not represented yet that are ready to be generated (1848-1872), followed by the earlier ones that require more manual editing. The Human Spellchecker (talk) 09:30, 4 November 2016 (UTC)[reply]
Request Expired. No response from operator. — xaosflux Talk 22:34, 30 November 2016 (UTC)[reply]