Wikipedia:Bots/Requests for approval/MalnadachBot 6


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

MalnadachBot 6
Operator:

Time filed: 10:48, Thursday, August 26, 2021 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AutoWikiBrowser

Source code available: AWB, regexes given below

Function overview: Fix 3 Lint errors in substituted welcome template

Links to relevant discussions (where appropriate): Same function as Bots/Requests for approval/MalnadachBot 5 but with different regexes

Edit period(s): One time run

Estimated number of pages affected: 65,000

Exclusion compliant (Yes/No): Yes

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

Function details: This task has same function as Task 5 but with different regexes due to different table style. It is to fix 3 Lint errors caused by substitution of W-graphical and its variants in User talk and User namespace. Each edit will fix three Lint errors; 1 deletable table tag (high priority error), 1 missing end tag div and 1 stripped table tag (low priority errors). Insource search for the pattern giving deletable table tag error gives 65,000 results. With 3 errors fixed per edit, this task will cleanup a total of 195,000 Lint errors.

I will be using 4 regexes in AWB's find and replace advanced settings -
 * 1)   is replaced with
 * 2)   is replaced with
 * 3)   is replaced with
 * 4)   is replaced with

All pages have 2 Lint error patterns that are handled by regex 1 and 2. For the third Lint error, a page will have one of the error patterns that are handled by regex 3 and 4. So regex 1 and 2 will be used for all edits, with regex 3 or 4 depending on the page.

Discussion

 * Please give at least 5 examples per replacement, no more than 25 total. I just want to make sure there are no surprise issues. Primefac (talk) 10:55, 26 August 2021 (UTC)
 * 10 edits. Here regexes 1, 2 and 3 were used.
 * 10 edits. Regexes 1, 2 and 4 were used.
 * --ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 11:27, 26 August 2021 (UTC)
 * Primefac (talk) 11:48, 26 August 2021 (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 Bots/Noticeboard.
 * 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 Bots/Noticeboard.