Wikipedia:Bots/Requests for approval/Josvebot 14


 * 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

Josvebot 14
Operator:

Time filed: 20:56, Friday, July 28, 2023 (UTC)

Function overview: Tagging redirect with appropriate redirect templates.

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: AWB standard

Links to relevant discussions (where appropriate):

Edit period(s): Continuous when I get around to running the bot.

Estimated number of pages affected: Around 200-300 per hour when running

Namespace(s):Namespace 0 (articles)

Exclusion compliant (Yes/No): Yes

Function details: List of templates which will be done automatically by bot are: (with possibility to add more templates as determined by me which generates no errors if done automatically)
 * - Example 1, Example 2
 * - Example
 * - Example
 * - Example 1, Example 2
 * - Example

Other minor non-contentious general fixes such as changing underscores to spaces in the links, or moving categories to the bottom of the page may be done at the same time.

Discussion
I have a couple of concerns on some of them. R to section and R to category are fine. Capitalization OK, so long as it recognizes R from miscaps (and variants) already be present.

For R to diacritics... what would it do with something like Journal for Physics → Zeitschift für Physik?

For R from modification, what modification does it consider?

&#32; Headbomb {t · c · p · b} 21:16, 28 July 2023 (UTC)
 * It is mainly run using AWB's default settings, so it will not touch cases which are not obvious.
 * In cases another "R to" or "R from template already exists, it skips the page.
 * In case of diacritics, it only tags when it is a direct character match (so e to é, but not o to ü), if not it skips the page.
 * Also doesn't tag the page when redirect goes from Journal to Zeitschift, that is not a diacritics change but a language change. ( Comment added 21:48, 28 July 2023 (UTC) )
 * For modification - let me get back to you in a few minutes.

-- Jonatan Svensson Glad (talk) 21:23, 28 July 2023 (UTC)
 * Having checked the actual code here is the templates in question:

for redirect pointing to project/help/portal/category/template/user/talk for when there only difference is extra/removed/changed punctuation or dash for title and redirect target the same if diacritics removed from redirect target and is self-explanatory
 * --Jonatan Svensson Glad (talk) 21:31, 28 July 2023 (UTC)
 * So, example of modification is changing from dash to ndash, or changing from title with explanation mark to without it. Jonatan Svensson Glad (talk) 21:34, 28 July 2023 (UTC)
 * Did the above answer your questions sufficiently? The below is a question whether to do this en-masse, but current set up of templates and guidelines suggest that there is no other way as of now. As it is right now thousands of redirects are not categories as they should be, therefore, I see it as beneficial to do these edits with a bot to be able to categorize and tag the redirects, as a first step in order to later merge the specific templates in case someone clever comes around to code a template to detect these things automatically. Jonatan Svensson Glad (talk) 22:36, 29 July 2023 (UTC)
 * They do, yes. I don't have qualms with an AWB bot doing this, but I do have qualms about a bot doing this when a simple edit could significantly cut down on the number of articles where such an edit would be needed to begin with.
 * how soon can the relevant change be made? If it's more than a week away, I'm going to approve this after a short trial. &#32; Headbomb {t · c · p · b} 22:50, 29 July 2023 (UTC)
 * @Headbomb, you can go ahead and approve this for a trial. I doubt anything will happen with the banner shell. — Qwerfjkl  talk  07:31, 30 July 2023 (UTC)
 * There was an extended discussion at Redirect category shell's talk page about automatically adding templates via the shell. I would prefer that that be properly implemented instead of mass editing redirects. — Qwerfjkl  talk  22:00, 28 July 2023 (UTC)
 * Can't see much work has been done on that part in a substantial amount of time, and based on current guidelines these templates should still be applied. Jonatan Svensson Glad (talk) 22:35, 28 July 2023 (UTC)
 * @Josve05a, yes, but it would ideal if a simple template change could be applied instead of a large number of edits. — Qwerfjkl  talk  12:06, 29 July 2023 (UTC)
 * I don't see a "single template change" to encompass capitalization, diacritics, and modifications to be on the agenda in the near future. The only discussion I can find is to another namespace/another project, and even that seems to not have reached consensus to stop using the specific templates as of now, also that template still needs to be applied to appropriate redirects after any such change in guideline and templates, so to get a grasp of how many pages are affected, they should all be tagged to begin with. Jonatan Svensson Glad (talk) 19:51, 29 July 2023 (UTC)
 * , 10 per template. &#32; Headbomb {t · c · p · b} 07:33, 30 July 2023 (UTC)

I encountered issues with the diacritics template as described in the list above, which I've added preventative fixes and skips for.

I also noticed that has been moved to, so I've updated to be using that one instead in the future.

--Jonatan Svensson Glad (talk) 08:37, 30 July 2023 (UTC)


 * Having run the bot a few times on pages (without saving) I can confirm that the issues encountered above has been taken care of (now skips pages which includes  amongst a few possible edge-cases, just in case). I don't see any issues with the current set up to go ahead if approved. Jonatan Svensson Glad (talk) 21:17, 30 July 2023 (UTC)
 * Good enough for me. &#32; Headbomb {t · c · p · b} 21:34, 30 July 2023 (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.