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

Operator: Bsoyka (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 01:30, Friday, December 29, 2023 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python (Pywikibot)

Source code available: bsoyka/wikipedia-bot on GitHub

Function overview: Replaces Wikipedia Library (TWL) proxy URLs in mainspace to allow non-qualified/registered users to access links.

Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Replacing TWL OCLC proxy links in articles

Edit period(s): Daily

Estimated number of pages affected: ~10–15 per day from Newspapers.com links alone, and TWL offers ~70 other proxied sites

Exclusion compliant (Yes/No): Yes

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

Function details: The script searches mainspace for articles containing TWL proxy domains and performs a simple find/replace operation to use non-proxied URLs. For example, see this test edit. Currently, only the Newspapers.com proxied domain is included in the script, but assuming this request is approved, I would like to expand this to most/all of the sites TWL proxies. (I have already set up the program to be easy to expand this way.)

Discussion[edit]

I endorse this being run, per discussion at the bot requests page (which I am too on-my-phone to link to). Right now I think the main force preventing these useless proxy links (i.e. cannot even be viewed unless you're currently logged into TWL) is that I do aJWB run every once in a while -- can link to the settings if helpful. Very very simple replacement but tedious to do by hand (although can be avoided by the like ten people I have convinced to use PressPass). "the mighty arms of Atlas hold the heavens from the earth" -- great Zeppelin lyric but bad maintenance philosophy. I say: put me out of a job please! jp×g🗯️ 10:59, 29 December 2023 (UTC)[reply]

 Courtesy link: Special:Permalink/1192215686, JWB settings copied from JPxG's much larger JWB file. Bsoyka (tcg) 15:52, 29 December 2023 (UTC)[reply]

Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 08:19, 31 December 2023 (UTC)[reply]

@Primefac: Trial complete. Contributions listed here. The only bump I encountered was in Streets of Rage 3 (the bot's most recent edit), where instead of the proxy URL using www-newspapers-com, it had www.newspapers.com (periods instead of hyphens). The article still appeared in the bot's search, but it didn't change anything in the source until I updated the code to support this other domain. All seems good now. Bsoyka (tcg) 19:06, 31 December 2023 (UTC)[reply]
 Approved. Primefac (talk) 13:31, 1 January 2024 (UTC)[reply]
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 Wikipedia:Bots/Noticeboard.