Wikipedia:Bots/Requests for approval/PrimeBOT 43


 * 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

PrimeBOT 43
Operator:

Time filed: 19:47, Friday, February 2, 2024 (UTC)

Function overview: Avoid unnecessary wiktionary linking in linktext calls with Korean text (by removing template call)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: WP:AWB

Links to relevant discussions (where appropriate): WT:MOS/Korea discussion

Edit period(s): OTR, though potentially re-run every year or two as I suspect it will take a while for this to "catch on"

Estimated number of pages affected: Max 22,605 (current transclusion count), estimated ~6k

Namespace(s): Article

Exclusion compliant (Yes/No): Yes

Function details: Remove transclusions of linktext where each passed parameter is a single Korean character (and/or spaces) as consensus appears to be that this is undesired, replacing them with just the raw characters. A fuller/even more detailed description is at the BOTREQ, but I'll explain a bit more here:

Any template call of linktext with only  as the characters/parameters (with or without surrounding whitespace) will be replaced with just the characters. Examples:
 * →  (only single characters)
 * →  (space characters retained)
 * left as is: contains characters other than
 * left as is: contains two or more adjacent characters in one parameter

Discussion
Edits. Not really sure why the 51st slipped in there since I had max edits set (sorry). Primefac (talk) 13:33, 4 February 2024 (UTC)
 * ProcrastinatingReader (talk) 12:12, 3 February 2024 (UTC)
 * By the way, perhaps worth limiting the bot to content within hangul (I'm assuming that's implicit in this task) ProcrastinatingReader (talk) 12:14, 3 February 2024 (UTC)
 * No, please do not apply such a condition. They don't always appear within.
 * For example,  (currently found in Kim Ha-nul (figure skater)) is not within.
 * Please implement the request as submitted. 172.56.232.203 (talk) 14:01, 3 February 2024 (UTC)
 * By the way, the more accurate estimated number of pages affected would be 6109 (as of this writing). See this. 172.56.232.203 (talk) 14:11, 3 February 2024 (UTC)


 * ProcrastinatingReader (talk) 13:45, 4 February 2024 (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.