Wikipedia:Bots/Requests for approval/RonBot 9


 * 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

RonBot 9
Operator:

Time filed: 22:17, Saturday, September 15, 2018 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: User:RonBot/9/Source1

Function overview: Removal of badly placed center tags

Links to relevant discussions (where appropriate): Bot_requests

Edit period(s): One Time Run

Estimated number of pages affected: around 2023 pages

Namespace(s): "User" and "User Talk" spaces

Exclusion compliant (Yes/No): Yes

Function details: Earlier versions of "The Bugle" newsletter had the closing center and span tags, for the final paragraph, in the wrong order, meaning the span never closed, and the font size reduces by 85% for every newsletter. The key substitution line looks for...
 * span style="font-size: 85%" tag
 * followed by center tag
 * then some text/whitespace until
 * closing span tag
 * then closing center tag
 * The two center tags (2 and 4) are eliminated. This make the closing span work properly.

Userspace trial can be seen at Special:Diff/859718967

Discussion

 * for this task, can you enable the "minor" revision option. As you will be updating user_talk pages, this will skip the "new messages" system alerting. —  xaosflux  Talk 11:42, 21 September 2018 (UTC)
 * Userspace test with minor edit set Special:Diff/860609424, source page updated Ron h jones (Talk) 21:15, 21 September 2018 (UTC)


 * experience operator, one-time run with very limited scope, non-reader impacting - minor tag will inherit the  attribute to avoid alerting editors. —  xaosflux  Talk 22:58, 21 September 2018 (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.