Wikipedia:Bots/Requests for approval/Yobot 30
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Withdrawn by operator.
Operator: Magioladitis
Time filed: 19:49, Wednesday, 1 February 2017 (UTC)
Automatic or Manually assisted: Automatic, supervised for most of the edits
Source code available: On request. Simple F&R
Function overview: Replace superscripted text with normal.
Links to relevant discussions (where appropriate): The Manual of Style reads:
- The ordinal suffix (e.g., th) is not superscripted (23rd and 496th, not 23rd and 496th). Moreover, dates should not have "th" on them. See also: Wikipedia:Bot_requests/Archive_40#Superscripted_text
Edit period(s): One-off to clean the backlog and regularly in the future.
Estimated number of pages affected: 100 per database scan
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): Y
Function details: Yobot, using a custom AWB module will cleanup results given by latest database scan replacing <sup>th</sup> with th. Same for rd, nd, th and only for numbers to avoid false positives. Text in quotes, etc. will be excluded. Edits will apply AWB general fixes where (and only where) other edits are taking place.
- 1st will become 1st
- 1nd will become 1nd
- 1rd will become 1rd
- 1th will become 1th
Discussion[edit]
BU Rob13 I provide a specific skip condition in case the main task is not done. I always did. This is a Find & Replace task and AWB contains built-in skip conditions for "Skip if no replacement was done". -- Magioladitis (talk) 21:45, 1 February 2017 (UTC)[reply]
- Some questions please:
- Is this a checkwiki thing?
- Is this something Yobot has done previously? If so, please link to the prior approval.
- Are there any other bots which do this job or have done in the past?
- Please give more details about this "custom module".
- Give more details about how it will recognise text in quotes, or how other false positives will be avoided.
- The task seems relatively uncontroversial. My only concerns are about whether other changes will be made at the same time, or whether cosmetic-only changes will be made. Thanks — Martin (MSGJ · talk) 21:48, 1 February 2017 (UTC)[reply]
- This is covered by CHECKWIKI. This error #101. This is descriped in the manual.
- Yes. Wikipedia:Bots/Requests for approval/Yobot 20
- BG19bot, Menobot as part of CHECKWIKI. It was previously done by SmackBot.
- I did not say anything about custom module. I use built-in skip conditions for "Skip if no replacement was done"
- No record of errors ever recorded. AWB recognises {{not a typo}} and skips. Same for quotes. -- Magioladitis (talk) 22:00, 1 February 2017 (UTC)[reply]
Example. -- Magioladitis (talk) 23:17, 1 February 2017 (UTC)[reply]
- Wikipedia:Bot_requests#Superscripted_text does not appear to exist, please check. — xaosflux Talk 02:07, 2 February 2017 (UTC)[reply]
- Xaosflux fixed link but WP:ORDINAL should be suffice. -- Magioladitis (talk) 06:21, 2 February 2017 (UTC)[reply]
The task does not seem to require running general fixes, and so they should not be enabled for it. Simply replacing superscripted text seems like an acceptable bot task to me. — Carl (CBM · talk) 12:09, 2 February 2017 (UTC)[reply]
Since there are only 4 suffixes: "st", "nd", "rd", and "th" -- why do you not list them out in the function details? Do you expect others? What would the bot do on Subscript and superscript? How does the bot know an error versus a deliberate usage? Is there an exclusion list? Is community fine with adding exclusions after the bot edits wrong? 10k is a lot of pages, even if it drops after first run. "Text in quotes, etc." -- what is "etc."? We don't approve tasks with vague details. — HELLKNOWZ ▎TALK 22:52, 3 February 2017 (UTC)[reply]
Hellknowz updated status. Bot excludes false positives. Only pages reported via CHECKWIKI will be dealt. -- Magioladitis (talk) 01:30, 5 February 2017 (UTC)[reply]
Function details are still vague and have no exhaustive cases/examples. What is a "number", does it look for digits only? Is 1,000th, A10th, or 2.10th? Still wondering about "etc." about exclusions; you should provide at least a link to how AWB skips things and how you verify that the exclusions are correct for this case. How does the bot "exclude false positives": how are the pages reported by CHECKWIKI and how do you know they are accurate and don't have false positives (or a mix of valid and invalid cases)? — HELLKNOWZ ▎TALK 17:02, 5 February 2017 (UTC)[reply]
Hellknowz I don't know how pages are reported in CHECKWIKI. Two other people do that. -- Magioladitis (talk) 22:55, 5 February 2017 (UTC)[reply]
Hellknowz Is 1,000th, A10th, or 2.10th? Yes, No, Yes -- Magioladitis (talk) 08:49, 6 February 2017 (UTC)[reply]
- @Magioladitis: The "no" appears to only have occurred due to a typo where you included two "th"'s. Please re-run that on A10th rather than A10thth to verify. ~ Rob13Talk 01:15, 10 February 2017 (UTC)[reply]
- Then it will fix it. I 'll fix everything in the form: single digit, opening sub tag, th/st/rd/nd, closing sup tag. -- Magioladitis (talk) 07:09, 10 February 2017 (UTC)[reply]
Hellknowz See also Wikipedia:Bots/Requests for approval/Yobot 20. -- Magioladitis (talk) 01:21, 15 February 2017 (UTC)[reply]
((BAGAssistanceNeeded)) -- Magioladitis (talk) 02:10, 23 February 2017 (UTC)[reply]
Withdrawn by operator. Much less pages left. I fixed everything manually. -- Magioladitis (talk) 10:17, 25 March 2017 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.