Template talk:Tweet
This template was considered for deletion on 4 May 2024. The result of the discussion was "keep". |
This is the talk page for discussing improvements to the Tweet template. |
|
Archives: 1Auto-archiving period: 3 months |
On 7 August 2023, it was proposed that this page be moved to Template:X post. The result of the discussion was not moved. |
Move discussion in progress
[edit]There is a move discussion in progress on Template talk:Cite tweet which affects this page. Please participate on that page and not in this talk page section. Thank you. —RMCD bot 13:03, 7 August 2023 (UTC)
Automatically calculate `date` from `id`
[edit]Module:TwitterSnowflake can automatically determine the date for a tweet from its snowflake id, {{cite tweet}} already uses that functionality (I'm aware of the edge cases, I don't think they apply here).
Can this template be made to automatically fill in the `date` parameter, if not included, with the same logic? Additionally, the snowflake date calculation logic is useful in {{cite tweet}} because it'll error out if you manually provide a date that isn't within some offset of the calculated date (implying an error in transcription, invalid date, or potential misinformation).
As an almost complete aside, I would like to propose that `|number` be used as an alias for `|id` so that it is compatible with `{{cite tweet}}` which supports the former but not the latter. Mahmoud (talk) 17:56, 23 November 2023 (UTC)
|context parameter
[edit]I created this topic in cite tweet talk, but seems that this would be the more appropriate place to propose, given the template claims to display "all relevant information about the tweet". Unfortunately, given popularisation of Community Notes, this is no longer the case for tweets with notes attached, hence suggestion to include a context
parameter that can include a note attached, to include all relevant information.
For reference sake, I mean like this with the Readers added context
part, given tweets with notes attached aren't displayed without them. I otherwise think it's only fair to describe this template as displaying "most" of the relevant information, rather than "all" at this point. CommunityNotesContributor (talk) 12:18, 27 November 2023 (UTC)
anachronism
[edit]For tweets before Twitter was changed, isn't using the new "X" logo anachronistic? For example, at Lea Salonga#Voice, that tweet is dated 2013, a good decade before the "X" logo was used. Shouldn't it instead display File:Logo of Twitter.svg? — Fourthords | =Λ= | 01:00, 18 February 2024 (UTC)
Following up, given the anachronism, and that this undiscussed change constitutes 17.7% of all the instigating editor's contributions, does anybody object to the undoing of these changes pending discussion (WP:BRD)? — Fourthords | =Λ= | 02:06, 19 February 2024 (UTC)
- I have reverted the undiscussed addition of the new logo (done without an edit summary even) pending further discussion. – Jonesey95 (talk) 19:52, 19 February 2024 (UTC)
- I've restored the Twitter logo as no consensus has emerged here to use the X logo. This fits with the emerging consensus at Talk:Twitter that X will be considered a separate service. Rendering tweets posted prior to 2023 with this logo preserves historical accuracy. An option here for post-2023 posts (so to speak) is adding a parameter to display the X logo instead, and creating a convenience shortcut with that pre-set as {{X post}}. — Scott • talk 12:08, 5 June 2024 (UTC)
- We could have the image and link automatically set based on the date param, which would mean all the posts from after the change would update without any manual intervention. Something like the following:
{{#switch:{{After| {{{date}}} | 23 July 2023}} |1=[[File:X logo 2023.svg|18px|link=X (social network)|alt=X logo, a stylized letter X]] |[[File:Logo of Twitter.svg|18px|link=Twitter|alt=Twitter logo, a stylized blue bird]]}}
Cakelot1 ☞️ talk 21:11, 5 June 2024 (UTC)- After doing some test I've implemented the above. See X (social network)#Other changes for two before and after tweets as an example. Cakelot1 ☞️ talk 06:52, 6 June 2024 (UTC)
- Snappy!! Great work. — Scott • talk 08:30, 6 June 2024 (UTC)
- P.S. Could you please update Template:Tweet/doc to note this new behavior? — Scott • talk 13:47, 6 June 2024 (UTC)
- I already added it to the description for the date param, but I'll see about adding an example demonstrating it. Cakelot1 ☞️ talk 18:55, 6 June 2024 (UTC)
- P.S. Could you please update Template:Tweet/doc to note this new behavior? — Scott • talk 13:47, 6 June 2024 (UTC)
- Snappy!! Great work. — Scott • talk 08:30, 6 June 2024 (UTC)
- After doing some test I've implemented the above. See X (social network)#Other changes for two before and after tweets as an example. Cakelot1 ☞️ talk 06:52, 6 June 2024 (UTC)
- I've restored the Twitter logo as no consensus has emerged here to use the X logo. This fits with the emerging consensus at Talk:Twitter that X will be considered a separate service. Rendering tweets posted prior to 2023 with this logo preserves historical accuracy. An option here for post-2023 posts (so to speak) is adding a parameter to display the X logo instead, and creating a convenience shortcut with that pre-set as {{X post}}. — Scott • talk 12:08, 5 June 2024 (UTC)