Misplaced Pages

:Bots/Requests for approval/E^pi*i batch - Misplaced Pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Misplaced Pages:Bots | Requests for approval

This is an old revision of this page, as edited by Primefac (talk | contribs) at 23:52, 31 March 2018 (E^pi*i batch: +). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 23:52, 31 March 2018 by Primefac (talk | contribs) (E^pi*i batch: +)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

E^pi*i batch

Operator: E to the Pi times i (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 02:54, Saturday, March 31, 2018 (UTC)

Automatic, Supervised, or Manual: Manual

Programming language(s): AutoWikiBrowser

Source code available: "AWB"

Function overview: Accessibility concerns (links below) deem that tooltips should not be used for non-trivial notes. This bot will replace inappropriate uses of {{tooltip}} with footnotes.

Links to relevant discussions (where appropriate): Misplaced Pages:Templates for discussion/Log/2010 February 26#Template:Tooltip, Misplaced Pages:Manual of Style/Accessibility#Text

Edit period(s): One-time run; probably split into multiple parts

Estimated number of pages affected: ~1600 pages

Namespace(s): Mainspace

Exclusion compliant (Yes/No): No

Function details: This bot will not perform any other fixes.

Discussion

Complete automation is the ideal; I will have to test some various functions within AWB to determine the optimal method for achieving complete automation. I am not intimitely familiar with AWB's template replacing function, which is why this initial request is semi-automated. I have used AWB before, though not on this wiki. E to the Pi times i (talk | contribs) 03:10, 31 March 2018 (UTC)

  • information Note: This bot has edited its own BRFA page. Bot policy states that the bot account is only for edits on approved tasks or trials approved by BAG; the operator must log into their normal account to make any non-bot edits. AnomieBOT 03:03, 31 March 2018 (UTC)
  • {{tooltip}} should not be replaced with {{abbr}} since the former is a redirect to the latter. — JJMC89(T·C) 03:12, 31 March 2018 (UTC)
    @JJMC89: The reason for replacing the template is because of accessibility concerns. Some percentage of the uses of tooltip are for non-abbreviation purposes, and the accessibility policy states that tooltip use for this purpose is not appropriate. If you read the linked pages, tooltip use is restricted to common abbreviations. The only reason {{tooltip}} still exists is because of its wide use. E to the Pi times i (talk | contribs) 03:24, 31 March 2018 (UTC)
    There is no accessibility concern with using {{tooltip}} instead of {{abbr}}. Replacement would violate WP:COSMETICBOT. — JJMC89(T·C) 03:26, 31 March 2018 (UTC)
    @JJMC89: I'll highlight more specifically to what I'm referring when I say "accessibility concerns": "Do not use techniques that require interaction to provide information, such as tooltips or any other "hover" text. Abbreviations are exempt from these requirements, so the {{abbr}} template may be used to indicate the long form of a word." The goal of the bot is to highlight cases where this template is being misused, i.e. by containing long sections of text. This misuse is covered by consensus.
    Since you do point out the cosmetic concern, I have restricted the purpose of my bot (above) more strictly to only replace templates where they are being misused. However, I think the template should be deleted, so I am going to start a new RfD discussion to gain consensus for that. E to the Pi times i (talk | contribs) 03:41, 31 March 2018 (UTC)
    My only concern was the cosmetic replacement of {{tooltip}} with {{abbr}}. I have no objection to the other part. — JJMC89(T·C) 03:46, 31 March 2018 (UTC)
  • Why will you override exclusion compliance? — xaosflux 17:17, 31 March 2018 (UTC)
    It's going to do semi-automated edits to handle one specific issue: misuse of tooltips. If the bot is expanded beyond doing semi-automated edits (i.e. replacing all {{tooltip}} instances, pending this deletion discussion), I will enable exclusion compliance. E to the Pi times i (talk | contribs) 17:41, 31 March 2018 (UTC)
    I don't see that as a good reason to not be exclusion compliant. — JJMC89(T·C) 21:25, 31 March 2018 (UTC)
@JJMC89: Where would lack of exclusion compliance be problematic? If each edit is reviewed (and probably tweaked in many cases), what's the issue? E to the Pi times i (talk | contribs) 23:06, 31 March 2018 (UTC)
  • Just looking over this quickly, it looks like a CONTEXTBOT problem - what is defined as a "trivial" use? You're talking about 80k pages, and since {{tooltip}} redirects to {{abbr}} there's no reason why a link can't be a "valid" use. If you're doing it semi-auto, you might as well just create a separate AWB account for it. Primefac (talk) 19:13, 31 March 2018 (UTC)
    @Primefac: Whoops. That number you refer to is currently a relic from the previous formulation of the request, which was changed to comply with COSMETICBOT, since there is not yet have consensus to delete {{tooltip}}. I have updated the affected number. I'm a bit confused about what you mean when you refer to "trivial use" and "separate AWB account", but I'll try to clarify my current intentions: I will go through pages, fixing any non-abbreviation uses of {{tooltip}}. Since I'm using AWB, I'm filing a bot request here, since AWB may allow some level of automated editing. Each edit will be reviewed, so I'm not sure why you're referring to CONTEXTBOT. E to the Pi times i (talk | contribs) 20:50, 31 March 2018 (UTC)
    So would I be correct in what you're planning on doing is something along the lines of converting {{tooltip|1|2}} into 1<ref>2</ref> for those 351 pages? Primefac (talk) 21:03, 31 March 2018 (UTC)
@Primefac: Something along those lines. More specifically, I will do {{tooltip|1|2}} -> 1{{efn|2}} with {{notelist}}. In some cases this will be inappropriate, so I will instead incorporate it into the prose above explaining the table. E to the Pi times i (talk | contribs) 22:47, 31 March 2018 (UTC)
Thanks. Looks like I made a copy-paste error. E to the Pi times i (talk | contribs) 22:47, 31 March 2018 (UTC)
Category: