Wikipedia:Bots/Requests for approval/Galobot 3


 * 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

Galobot 3
Operator:

Time filed: 17:54, Wednesday, March 20, 2019 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python (Pywikibot)

Source code available: here

Function overview: Replace uses of "letterhead" class with template

Links to relevant discussions (where appropriate):

Edit period(s): One time run

Estimated number of pages affected: ~400 (almost all results from search of "insource:"letterhead" insource:/class *= *["'][a-zA-Z0-9 ]*letterhead/")

Exclusion compliant (Yes/No): Yes

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

Function details: Replaces  with letterhead start and the closing tag with letterhead end, so that the class "letterhead" can be removed from MediaWiki:Common.css. Uses mwparserfromhell so it should be good with edge cases.

Discussion

 * please additionally mark these 'minor', esp in case any occur in user_talk:. — xaosflux  Talk 02:11, 22 March 2019 (UTC)
 * Thanks. (There are many instances in user talk actually, which is why I came here to have a flagged bot do it rather than making an AWB request.) Edits. One issue was that a a few core contest pages had markup like   within the , which confused the parser in this edit; however, I've manually fixed those instances in the 400 pages to fix. I didn't see any other issues. Galobtter (pingó mió) 09:10, 22 March 2019 (UTC)
 * task approved. — xaosflux  Talk 12:53, 22 March 2019 (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.