Jump to content

Template talk:Cite tweet

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

"user" parameter is not necessary

[edit]

The |user= parameter is not necessary because we can find any tweet just from it's number. suppose whole url is https://x.com/Wikipedia/status/1843233092145701274, now this tweet can be accessed without knowing the username like this: https://x.com/anyuser/status/1843233092145701274. but this template always says |user is required and without that it returns error. see here[31 number reference].––kemel49(connect)(contri) 13:28, 10 October 2024 (UTC)[reply]

Is there a way to determine a tweet's author from its number without following the link? Rjjiii (talk) 13:50, 10 October 2024 (UTC)[reply]
Username is not necessary at all, if we omit the user parameter, it could reach to destined tweet by following the number parameter. and we can fill out author parameter only if we wish and it's not necessary that's what i mean.––kemel49(connect)(contri) 14:05, 10 October 2024 (UTC)[reply]
Consensus is for including the author in a citation if possible (Wikipedia:Bare URLs & Why Bare URLs are a problem]). Rjjiii (talk) 22:00, 10 October 2024 (UTC)[reply]
This edit was done because |user= parameter was populated by an unexpected input. in such case, instead of using user parameter (which is necessary) url could be retrieved by using anyuser. This is how the mentioned edit was done.––kemel49(connect)(contri) 13:26, 5 January 2025 (UTC)[reply]

Bluesky

[edit]

Is it time to fork the template, as "Cite Bluesky"?

Post URLs take the form:

https://bsky.app/profile/pigsonthewing.org.uk/post/3lcxslny57k2s

where "pigsonthewing.org.uk" is the user-name and "3lcxslny57k2s" is the UID of the post. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:53, 10 December 2024 (UTC)[reply]

@Pigsonthewing: I might be a bit late here, but I totally agree. GnocchiFan (talk) 12:20, 8 February 2025 (UTC)[reply]

X vs. Twitter

[edit]

I think that instead of saying "via Twitter", this template should say "via X (formerly Twitter)". GnocchiFan (talk) 12:20, 8 February 2025 (UTC)[reply]

It is line 156 in the sandbox if you want to tweak it and seek consensus to change. Rjjiii (talk) 16:23, 8 February 2025 (UTC)[reply]
If that is to be done, oughtn't the |via= value be chosen according to the date of the source? Before some date certain, it should be Twitter because X did not exist; X thereafter.
Trappist the monk (talk) 16:46, 8 February 2025 (UTC)[reply]

Does not work with autocitation?

[edit]

Hello -- perhaps I am doing something incorrect, but I noticed that this template does not integrate with autocitation (both when using x.com and twitter.com domains). Top5a (talk) 21:45, 18 February 2025 (UTC)[reply]

@Top5a What do you mean by "autocitation"? There are several automatic ways to make citations for Wikipedia. I don't think any of them support {{cite tweet}}. Rjjiii (talk) 01:06, 19 February 2025 (UTC)[reply]
Just the default Edit > Cite > Add a citation > Automatic on any page (no additional or customized scripts or anything). Top5a (talk) 04:40, 19 February 2025 (UTC)[reply]
@Top5a, in the Visual Editor, right? That uses Citoid. You could try asking there or at WP:VPT. You can add Citoid info to the TemplateData, but I don't know if what Citoid is scraping will match the parameters for {{cite tweet}}. Rjjiii (talk) 06:25, 19 February 2025 (UTC)[reply]
Yea, in the visual editor. Oh, interesting. It's of course not a big deal, as tweets aren't typically used for citations or anything, but I was a bit surprised that it did not generate one automatically, hence me just using this template manually. I searched the archive talk page on Citoid just now, and no one seems to have mentioned X/Twitter, so I am just going to assume that it isn't intended to be used there. I don't know much at all about the backend plumbing here or on MediaWiki, as I have only dabbled slightly with scripts and things like SPARQL. Thank you, anyway! Top5a (talk) 07:37, 19 February 2025 (UTC)[reply]
Oh, there is an untriaged thing here, I suppose https://phabricator.wikimedia.org/T310892 Anyway, nbd. Cheers! Top5a (talk) 07:40, 19 February 2025 (UTC)[reply]

module update

[edit]

The live version of Module:Cite tweet uses Module:Cite web to access Module:Citation/CS1 to render {{cite tweet}} templates. This roundabout is necessary because Module:Citation/CS1 does not support direct module-to-module access. With the next Module:Citation/CS1-suite update, direct module-to-module access will be supported; see Help talk:Citation Style 1 § module suite update 12–13 April 2025.

In advance of the update, I have tweaked Module:Cite tweet/sandbox so that it directly accesses Module:Citation/CS1/sandbox, eliminating the need to call Module:Cite web. I don't see anything in Template:Cite tweet/testcases that would indicate that I broke anything but other eyes to look at ~/testcases would not come amiss.

There being nothing obviously wrong, without objection, I shall update Module:Cite tweet from its sandbox shortly after I update the cs1|2 module suite.

Trappist the monk (talk) 13:49, 7 April 2025 (UTC)[reply]