Jump to content

Template talk:Cite tweet

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Cite tweet)

What to do for empty titles[edit]

The title param is listed as required. However, what if the cited tweet has no text, just an image? I guess you could make something like "N/A" but any future automated check will likely get confused after that doesn't match the real text of the tweet. Is there a formal "None" option that's supported? If so, can it be added to the documentation? (Came up for this edit and this tweet if it matters... the kind of low-level personnel overturning that journalists won't write news stories about, so citing Twitter is legitimate in the first place.) SnowFire (talk) 05:26, 1 November 2023 (UTC)[reply]

afaik, under the hood, images are either t.co or pbs.twimg.com links in a tweet. Maybe somehow get that URL and put it as the title? I'm not sure how to get them now so it would be reasonable to remove the title requirement. SWinxy (talk) 15:27, 1 November 2023 (UTC)[reply]
The mandatroy title param should also be removed given how long tweets can be these days. It should just show the href'd text 'Tweet' if empty. Local Variable (talk) 03:45, 14 April 2024 (UTC)[reply]
Since I commented, I found the way to get the content: copy the embed code (three dots > Embed post) and paste only the tweet's contents. SWinxy (talk) 05:14, 14 April 2024 (UTC)[reply]

Update to sandbox version[edit]

Is there any opposition to updating to the sandbox version? Rjjiii (talk) 07:26, 4 January 2024 (UTC)[reply]

I see above that the documentation was never updated for the template update. I've gone ahead and done this, in case that had caused the wait as I see some support and no objections to the sandbox version. GKFX, if you're okay with it, I'd like to go ahead with the sandbox update this week. If there are objections to the sandbox version, feel free to revert my changes to the documentation. Rjjiii (talk) 08:12, 4 January 2024 (UTC)[reply]
I think we should proceed. It fixes the issues we've been coming across due to the changes to the underlying CS/cite web module. - Favre1fan93 (talk) 17:04, 4 January 2024 (UTC)[reply]
Full send. SWinxy (talk) 17:19, 4 January 2024 (UTC)[reply]
Also, it looks like GKFX has been inactive since switching the template to lua. Does the template have a primary maintainer to ping? Nardog? Rjjiii (talk) 21:17, 4 January 2024 (UTC)[reply]
I mean, I've been here a while, and the last two edits to the module were from me. So, me? I guess? SWinxy (talk) 23:29, 4 January 2024 (UTC)[reply]
@SWinxy: Gotcha, I just didn't want to step on anyone's toes. Rjjiii (talk) 23:31, 4 January 2024 (UTC)[reply]
The template and documentation are both updated. And again if this causes some unforeseen issue, feel free to roll back. Rjjiii (talk) 23:46, 4 January 2024 (UTC)[reply]

Date issue[edit]

Do I see this right that the date automatically derived from the Tweet ID cannot be overwritten? If so, that's a problem.

Consider the tweet with this ID: 1784604761263903165

The tweeter states: I am profoundly sad to share that my father, Emeritus Professor Sir Vincent O’Sullivan, died in Dunedin late yesterday (28 April)[1]

The Tweet was sent at 3:25am NZ time on 29 August. When I plug this into the reference template, it shows as being sent on 28 April, probably because at that time, it was still that date at Twitter HQ. However, the tweet's content now clashes with the date. Obviously, this is only correct when it shows as having been sent on 29 April, as the tweeter's father died on 28 April ("late yesterday (28 April)"). Can this please be fixed? I'd like the template to accept the correct date if that is what is specified through the date parameter.

References

  1. ^ O'Sullivan, Dominic [@indigpolitics] (April 28, 2024). "I am profoundly sad to share that my father, Emeritus Professor Sir Vincent O'Sullivan, died in Dunedin late yesterday (28 April)" (Tweet) – via Twitter.

Schwede66 06:24, 29 April 2024 (UTC)[reply]

Template-protected edit request on 20 May 2024[edit]

In light of the recent URL migration, line 61 should be changed from cite_args_t.url = 'https://twitter.com/'; to cite_args_t.url = 'https://x.com/'; UltrasonicMadness (talk) 19:01, 20 May 2024 (UTC)[reply]

 Done * Pppery * it has begun... 20:10, 20 May 2024 (UTC)[reply]
😔 SWinxy (talk) 22:20, 20 May 2024 (UTC)[reply]
This is just the sort of thing that WP:JUSTDONTLIKEIT was written for. Blech. – Jonesey95 (talk) 00:46, 21 May 2024 (UTC)[reply]
nononono I meant it as a "rest in peace" thing. SWinxy (talk) 02:44, 21 May 2024 (UTC)[reply]