Wikipedia:Bots/Requests for approval/Yobot 33


 * 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 Symbol oppose vote.svg Withdrawn by operator.

Yobot 33
Operator:

Time filed: 21:57, Wednesday, February 1, 2017 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: -

Function overview: Fix spacing between percent per WP:PERCENT

Links to relevant discussions (where appropriate): WP:PERCENT

Edit period(s): Daily

Estimated number of pages affected: Some hundreds

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): Yes

Function details: Example. 92.5 % to 92.5% There will be no general fixes involved. Page will be skipped in no whitespace is removed. This task is a new task. -- Magioladitis (talk) 21:57, 1 February 2017 (UTC)

Discussion

 * Support a trial to ensure this works without cosmetic-only edits. ~ Rob 13 Talk 00:28, 2 February 2017 (UTC)
 * Is the only thing this bot will do the removal of one or more space characters (U+0020) between a digit and the '%' symbol? Or are there other changes you intend to include as well? Please update the "Function details" section accordingly. Anomie⚔ 13:39, 3 February 2017 (UTC)
 * Anomie This is going to be the only change. -- Magioladitis (talk) 15:21, 9 February 2017 (UTC)

BAGAssistanceNeeded -- Magioladitis (talk) 02:10, 23 February 2017 (UTC)

— HELL KNOWZ  ▎TALK 14:43, 28 February 2017 (UTC)

Examples:, ,

List of diffs. Ignore the few edits I did before those 50. It was a minor glitch which I noticed and fixed. -- Magioladitis (talk) 07:48, 1 March 2017 (UTC)
 * You are expected to promptly fix the wrong edits caused by the bot. Why haven't you? — HELL KNOWZ  ▎TALK 12:12, 1 March 2017 (UTC)

I will also expand to catch double spaces and tabs. -- Magioladitis (talk) 07:54, 1 March 2017 (UTC)

Reviewed all edits. — HELL KNOWZ  ▎TALK 12:09, 1 March 2017 (UTC)
 * - this changed a quote in a citation.
 * - this wasn't a percentage
 * - this is in a comment

On the first one: We adjust quotes anyway. On the third one: Still OK I guess? On the second one: I'll fix this. -- Magioladitis (talk) 12:23, 1 March 2017 (UTC)


 * The quote issue is difficult. If the quote is quoting someone who spoke it out loud, the syntax should be fixed. If the quote is quoting a written work, it should be printed as-is to the extent possible, and always noted when an adjustment is made. I do think some such quotes should be changed, but this gets into WP:CONTEXTBOT territory on whether the quote was spoken or written, so best to punt and not have a bot edit within citation quotes or Quote. (There may be some errors where a bot edits an actual quote inserted into the article. These are likely to occur at low enough rates that I'm not concerned about them.) The bot should detect when a change is within a wiki markup comment (look behind for after it, easy regex) and not make such an edit. Comments are more similar to talk page comments than article contents; they really shouldn't be altered for spelling, grammar, etc. It's also an edit which solely improves the wiki markup cosmetics, so falls under COSMETICBOT rather clearly. For the second one, I'd appreciate a brief note on how you're fixing this, since it seems like an odd edge case. Negative look behind for \d{4,}, perhaps? That should catch everything weird related to dates and other idiosyncratic usages of the % sign. On the other hand, it would be very useful for someone to generate a report on what articles contain \d{4,}\s*% (not sure if that % needs an escape character, probably not). In most cases, these should be edited, since using the % sign as an abbreviation for "Percent" in a label is lazy writing. But that's a task for another day. ~ Rob 13 Talk 21:50, 3 March 2017 (UTC)

((BAGAssistanceNeeded)) 23:12, 22 March 2017 (UTC)


 * There is still a question pending above. ~ Rob 13 Talk 05:02, 23 March 2017 (UTC)

Anyway, I 'll do them manually. -- Magioladitis (talk) 09:52, 25 March 2017 (UTC)
 * 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.