Wikipedia:Bots/Requests for approval/MinusBot


 * 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

MinusBot
Operator:

Time filed: 16:09, Sunday, March 5, 2017 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: Simple regex, see below, but most recent available upon request once the bot is unleashed.

Function overview: To replace hyphens by minus signs in superscripts and subscripts, as appropriate

Links to relevant discussions (where appropriate): MOS:COMMONMATH

Edit period(s): Monthly, following dumps.

Estimated number of pages affected: ~100 for the first run, then ?/month afterwards.

Exclusion compliant (Yes/No): Yes

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

Function details:
 * Looks for hyphen in superscripts and subscripts, and replaces them with minus signs (when appropriate)
 * , replaces with
 * , replaces with
 * Applies AWB genfixes if it finds them (but skips whitespace-only, minor genfixes, and cosmetic genfixes if that's the only thing it does)

These regex aren't the exact ones, since there's a bit of filtering done to eliminate false positives, and I'm almost sure the Greek ranges α-ωΑ-Ω isn't valid regex, but conceptually that's what the regexes do. Headbomb {talk / contribs / physics / books} 17:15, 5 March 2017 (UTC)

Discussion

 * What namesapce(s) will this be run in? — xaosflux  Talk 19:01, 5 March 2017 (UTC)
 * Mainspace and Draftspace, mostly. There might be manually selected pages from other namespaces (e.g. Filespace) occasionally, but I'll usually do those from my main account. Headbomb {talk / contribs / physics / books} 19:04, 5 March 2017 (UTC)
 * Demonstration trial. — xaosflux  Talk 00:46, 6 March 2017 (UTC)
 * MinusBot will need to be added to AutoWikiBrowser/CheckPage before I can proceed. Headbomb {talk / contribs / physics / books} 00:58, 6 March 2017 (UTC)
 * ✅ - Kingpin13 (talk) 01:00, 6 March 2017 (UTC)
 * , no issues/problem edit found. Headbomb {talk / contribs / physics / books} 01:18, 6 March 2017 (UTC)
 * Regarding your summary - what is this "and other cleanup" - this BRFA didn't mention anything else? — xaosflux  Talk 04:09, 6 March 2017 (UTC)
 * Edits that made "extra" changes: 1, 2, 3, 4, 5, 6, 7, 8. — xaosflux  Talk 04:15, 6 March 2017 (UTC)
 * Function details says about AWB genfixes so I would guess that's what they are. TheMagikCow (talk) 08:18, 6 March 2017 (UTC)
 * AWB genfixes, yes, as outlined in the function details. Headbomb {talk / contribs / physics / books} 10:35, 6 March 2017 (UTC)

Why isn't this task exclusion compliant? AWB is exclusion compliant by default. —&thinsp;JJMC89&thinsp; (T·C) 04:27, 6 March 2017 (UTC)
 * It is? Then I guess this bot is exclusion compliant. Headbomb {talk / contribs / physics / books} 10:35, 6 March 2017 (UTC)
 * You would have to purposefully enable overriding compliance, which I'm assuming you are not. — xaosflux  Talk 23:38, 24 March 2017 (UTC)

/ It's been a few weeks now... Headbomb {talk / contribs / physics / books} 18:10, 24 March 2017 (UTC)


 * Task approved. — xaosflux  Talk 23:37, 24 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.