Wikipedia:Bots/Requests for approval/IznoBot 2

IznoBot 2

[[User:IznoBot|IznoBot 2]]

{{Newbot|IznoBot|2}}

Operator: {{botop|Izno}}

Time filed: 03:07, Thursday, October 18, 2018 (UTC)

Function overview: Lint DYKN ARCHIVE pattern

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: AWB

Links to relevant discussions (where appropriate): WT:Linter#Quick misnested tag fix for 1,000 to 2,000 Template:DYK pages

Edit period(s): One-time.

Estimated number of pages affected: ~900.

Namespace(s): Template

Exclusion compliant (Yes/No): Standard AWB

Function details: Will F+R the exact pattern (or so--something large to be conservative) talk page guidelines for (more) information.{{clear}} with talk page guidelines for (more) information.{{clear}}, which swaps the location of the span and the i before the clear. Will work off the templates in [https://en.wikipedia.org/w/index.php?search=insource%3A%2F%5C%3C%5C%2Fb%3E+for+%5C%5B%5C%5BWP%3AARCHIVE%5C%7C%5C%28%5C%3Cb%3Emore%5C%3C%5C%2Fb%3E%5C%29%5D%5D+information.%5C%3C%5C%2Fi%3E%5C%3C%5C%2Fspan%3E%5C%7B%5C%7Bclear%7D%7D%2F&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%22namespaces%22%3A%5B10%5D%7D&ns10=1 this search].

=Discussion=

Please add this pattern as well, which will catch another 100 or so:

for \[\[WP\:ARCHIVE\|\(\'\'\'more\'\'\'\)\]\] information\.)(\'\')(\<\/span\>)/gi, '$1$3$2'

It's the same pattern, just with wikitext bold and italic marks. You can see the patterns that worked for me on a few hundred articles at User:Jonesey95/AutoEd/doi.js, in the "misnested tags" section. Thanks! – Jonesey95 (talk) 04:09, 18 October 2018 (UTC)

:Will do. --Izno (talk) 04:34, 18 October 2018 (UTC)

::Search isn't finding that pattern. {{ping|Jonesey95}} Please feel free to provide a link to a search which does. --Izno (talk) 03:18, 19 October 2018 (UTC)

:{{BotTrial|edits=50}} — xaosflux Talk 15:44, 18 October 2018 (UTC)

::{{ping|Xaosflux}} [https://en.wikipedia.org/w/index.php?limit=50&title=Special%3AContributions&contribs=user&target=IznoBot&namespace=&tagfilter=&start=2018-10-18&end= Should be 50]. I only ran against the pattern originally requested per my comment to Jonesey. I will plan to add the 2nd pattern if he can produce a search identifying the issue using the equivalent wikitext. --Izno (talk) 03:18, 19 October 2018 (UTC)

:::{{Re|Izno}} looks fine, do you want to wait for the second test (20 sample edits should be fine)? — xaosflux Talk 03:21, 19 October 2018 (UTC)

::::{{ping|Xaosflux}} I'd prefer to execute the first since it's so simple and I would guess the pages are mutually exclusive. I'm happy to drop a note on your talk page for the 2nd group for trial of that set. --Izno (talk) 03:26, 19 October 2018 (UTC)

:{{BotApproved}} — xaosflux Talk 03:44, 19 October 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.