Page MenuHomePhabricator

Add archive links to {{Cite tweet}} and {{Tweet}} on the English Wikipedia
Open, LowPublicFeature

Description

{{Cite tweet}} and {{Tweet}} currently don't get archived links added to them

The URL for {Cite tweet}} can be found by using the 'user' and 'number' parameters in the format https://twitter.com/{{{user}}}/status/{{{number}}}
The URL can be found for {{Tweet}}} using the 'user' and 'ID' parameters in the format https://twitter.com/user/status/{{{ID}}} for {{Tweet}} (note that the 'user' and 'ID' parameters are not required so some uses may not use them)

Both of them have the url-status, archive-url and archive-date parameters

Event Timeline

Nintendofan885 changed the subtype of this task from "Task" to "Feature Request".

One thing to note that makes this a bit confusing: All uses of "Tweet" are also uses of "Cite tweet," since the former transcludes the latter, but because they are using the "Tweet" template it's a different template and set of parameters to interpret.

Another thing I want to note is that, rather than cite URLs, those templates cite the tweet unique ID directly. In the "Tweet" template this parameter is "ID" and in "Cite tweet" it is called "number". I am not sure if it is possible to configure template maps, from the interface, to expand unique IDs out into full URLs.

None of the Twitter links works above?

They're not real links, but a description of the format of Twitter URLs.

+1 this, would love to see something like this

Harej triaged this task as Low priority.Sep 12 2022, 8:22 PM
Harej edited projects, added InternetArchiveBot; removed InternetArchiveBot (v3.0).
Harej moved this task from Inbox to Backlog: Syntax on the InternetArchiveBot board.
Katrinarowley0 raised the priority of this task from Low to Unbreak Now!.Sep 12 2022, 8:25 PM
RhinosF1 lowered the priority of this task from Unbreak Now! to Low.Sep 12 2022, 8:27 PM