Wikipedia:Bots/Requests for approval/TNTBot 5
- 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
Withdrawn by operator.
Operator: TheresNoTime (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 12:31, Friday, May 12, 2023 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: https://github.com/theresnotime/wp-twitter-archive
Function overview: Adds archive-url
and archive-date
to {{cite tweet}}
references where the Tweet has already been archived to IA but the parameter has not been set
Links to relevant discussions (where appropriate): Special:Permalink/1154414160#Twitter may delete 30-days-inactive accounts: archiving needed
Edit period(s): daily
Estimated number of pages affected: > 10,000
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: The bot uses a PetScan report of all mainspace pages which use {{cite tweet}}
and checks if archive-url
is already supplied in the citation — if not, the bot then uses the Internet Archive API to see if a snapshot already exists.
If a snapshot exists, the bot adds |archive-url={url}|archive-date={date}
to the {{cite tweet}}
template.
If a snapshot does not exist, the bot currently skips the page.
Discussion
[edit]Note: I've done a monitored test edit via the bot to "Weird Al" Yankovic — TheresNoTime (talk • they/them) 12:43, 12 May 2023 (UTC)[reply]
- Thanks for running this task! Frostly (talk) 23:35, 12 May 2023 (UTC)[reply]
- This task seems to overlap with User:GreenC bot's WaybackMedic task - do we really need a bespoke bot? * Pppery * it has begun... 03:00, 13 May 2023 (UTC)[reply]
- WaybackMedic doesn't currently parse cite tweet. The above task is missing
|url-status=
. In most cases it will still be a live link, without|url-status=
it will default as if the link is dead. Also there have been reports Tweets saved at Wayback sometimes look incorrect, in which case the archive.today version would be better. Some extended tests will show. -- GreenC 03:36, 13 May 2023 (UTC)[reply] - @Pppery: Quite possibly not! I'm running it now (see below) and it seems a lot of the pages with "issues" I found while writing this bot have already been fixed — I'd be more than happy to withdraw this request if there's really no need, but noting what GreenC said there could be some edge cases where this would be useful... Guess we'll see
— TheresNoTime (talk • they/them) 08:54, 17 May 2023 (UTC)[reply]
- WaybackMedic doesn't currently parse cite tweet. The above task is missing
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 06:48, 13 May 2023 (UTC)[reply]
Acknowledged — TheresNoTime (talk • they/them) 08:54, 17 May 2023 (UTC)[reply]
- @Primefac: Looks like Pppery was correct — whilst creating and testing this bot, there were consistent cases where edits would need to be made. Running it today shows 0 required edits out of the 10,000 checked instances, so I think its fair to say other bots are doing this task sufficiently
- Please mark this as
Request withdrawn, and many thanks to all for their comments — TheresNoTime (talk • they/them) 09:23, 17 May 2023 (UTC)[reply]
- @Primefac: Looks like Pppery was correct — whilst creating and testing this bot, there were consistent cases where edits would need to be made. Running it today shows 0 required edits out of the 10,000 checked instances, so I think its fair to say other bots are doing this task sufficiently
- 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.