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.
|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. --
Green
C 03:36, 13 May 2023 (UTC)
replyOperator: 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.
|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. --
Green
C 03:36, 13 May 2023 (UTC)
reply