Wikipedia:Bots/Requests for approval/MalnadachBot 4


 * 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 4
Operator:

Time filed: 10:18, Wednesday, August 11, 2021 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AutoWikiBrowser

Source code available: Regexes given below

Function overview: Remove navbox class from Deletion review archives to make them readable in mobile

Links to relevant discussions (where appropriate): There have been complaints about mobile inaccessibility of DRV archives - Wikipedia talk:Deletion review/Archives/2020/June, Wikipedia talk:Deletion review/Archives/2021/January

Edit period(s): One time run

Estimated number of pages affected: 3,650

Exclusion compliant (Yes/No): Yes

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

Function details:

The template DRV top is used to close Deletion review discussions. Till it was modified by User:Izno in April, the template used navbox class in table to collapse a closed discussion. Navboxes are invisible in wikipedia mobile website, making closed discussions unreadable in mobile as can be seen in the picture. This is a major accessibility problem for mobile users. The archives since the template modification in April are readable in mobile. However about 3,650 archives before that dating back to 2006 continue to be unreadable. This bot task is to modify these archives and solve the problem.

I will be replacing  and   table classes with. In addition I will be adding  to table style. This will largely preserve the existing look in desktop site.

Two regex find and replace will be used -
 * 1)   is replaced with
 * 2)   is replaced with

Discussion

 * ProcrastinatingReader (talk) 13:12, 12 August 2021 (UTC)
 * Results are here. I have done 25 edits per regex. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 07:40, 13 August 2021 (UTC)
 * ProcrastinatingReader (talk) 14:12, 18 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.