Wikipedia talk:Bots/Requests for approval/Rlink2 Bot

minor additions edit

Thank you @TheSandDoctor: for approving the bot request. If no one opposes, I will also be adding the other minor archive fixes (http -> https for archive.org and ghostarchive.org) as well, since they are non controversial but I only thought of them after the bot request was filed. Thanks Rlink2 (talk) 12:43, 29 December 2021 (UTC)Reply

@Rlink2: Approved. --TheSandDoctor Talk 19:04, 29 December 2021 (UTC)Reply

Expanding archive.today shortcuts edit

@Rlink2: it would be great if this bot could be extended to a related task: expanding archive.today shortcuts.

IAbot has code to do this at https://github.com/internetarchive/internetarchivebot/blob/e094a56cebf9fe94d01f1d47e59c10fc57b01d79/app/src/Core/APII.php#L3105, but IAbot has limited capacity. See e.g. this IAbot edit[1] which expanded https://archive.md/wip/j7fYr to https://web.archive.org/web/20211222031449/https://www.rte.ie/news/courts/2021/1221/1268045-ikea-woman-claim/

See also phab:T298180.

A standalone bot doing this task would be a great help. BrownHairedGirl (talk) • (contribs) 15:46, 30 December 2021 (UTC)Reply

@BrownHairedGirl: Sorry for the delay. At first, I was going to say that this was impossible, but because you asked I decided to look into harder, and it is sort of possible. I have created a script to do this. This is probably the most I'll be able to do with archive.today. The script still needs some work, but you can see it in action here: https://en.wikipedia.org/w/index.php?title=User:Rlink2/sandbox2&action=history Rlink2 (talk) 20:35, 30 December 2021 (UTC)Reply
Thanks, @Rlink2. That looks great ... and v quick.
If you can get the script polished, there is a lot of work it to do. BrownHairedGirl (talk) • (contribs) 20:42, 30 December 2021 (UTC)Reply