![]() | Template:Cite tweet is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This template is a Citation Style 1 specific-source template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This is the talk page for discussing improvements to the Cite tweet template. |
|
Archives: 1, 2, 3Auto-archiving period: 6 months ![]() |
![]() | This template was considered for deletion on 2015 April 11. The result of the discussion was "no consensus to delete". |
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||
|
![]() | On 7 August 2023, it was proposed that this page be moved to Template:Cite X post. The result of the discussion was not moved. |
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)
|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)https://x.com/anytexthere/status
and then tweet number then the link will lead us to desired post, hence username is not necessary at all. One can still fill that parameter but making it mandatory only gaining expense on tracking category.––kemel49(connect)(contri) 14:02, 29 May 2025 (UTC)
|user=
parameter, getting rid of the error/category, or both? Would you feel comfortable implementing your idea in the sandbox? Rjjiii (talk) 22:40, 29 May 2025 (UTC)
|user=
seems appropriate for completeness of bibliographic detail in the rendered citation. I guess I don't see any harm in using /anyuser/
in the constructed url but I don't see any great advantage either.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)
I think that instead of saying "via Twitter", this template should say "via X (formerly Twitter)". GnocchiFan (talk) 12:20, 8 February 2025 (UTC)
|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.The {{Cite tweet}} template should be forked to something like {{Cite X posting}} template, as Twitter no longer exists and we wouldn't want to change older Twitter citations throughout Wikipedia by forcing a new name on them. — Foxtrot1296 (talk) 21:17, 16 June 2025 (UTC)
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)
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)
{{#invoke:cite tweet||parameters}}
notation in favor of {{#invoke:cite tweet|main|parameters}}
. I worked up an alternative in the sandbox that processes the function name as if it were the first parameter, so ||
or |main|
would get ignored since Module:Citation/CS1 doesn't use numbered parameters, and any named parameter such as |user=Foo|
would get parsed as args_t['user'] = "Foo"
. This means that you could call the module as just {{#invoke:cite tweet/sandbox|parameters}}
, making the resulting wikicode much cleaner when converting from {{cite tweet}}. Thoughts? --Ahecht (TALK|user=
parameter which will still give a working link even if there is a typo in the user's name. Rjjiii (talk) 18:16, 13 June 2025 (UTC)
{{{1}}}
is main
as the invoke function call. There are ~9 articles where {{{1}}}
is empty or whitespace as the invoke function call. Somehow I thought that there were more direct invokes.Since the Twitter name has changed to X, is it not possible to change the parameter on line 116?
via = args_t.link == 'no' and 'Twitter' or '[[Twitter]]',
to be like,
via = args_t.link == 'no' and 'X' or '[[Twitter|X]]',
Dimz48 (talk) 09:56, 19 May 2025 (UTC)
|via=Twitter
should be used; after that time certain, |via=X
should be used. Identify the time-date-stamp of the first X post and I'll make the value assigned to |via=
time/date dependant.![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Pretty simple: Add Category:Citation templates? -Ahuman00 (talk) 06:25, 27 May 2025 (UTC)
{{cite instagram}}
and many others, this template is already part of Category:Citation Style 1 specific-source templates, which is a subset of both Category:Citation Style 1 templates and Category:Specific-source templates, both of which are subsets of Category:Citation templates. Est. 2021 (talk · contribs) 09:03, 27 May 2025 (UTC)
Greetings and felicitations. From "Iron Dome," in
{{cite web}}
: Check |url=
value (help)what am I missing that is causing the error? It was also happening before I added the actual URL. —DocWatson42 (talk) 08:07, 20 June 2025 (UTC)
|user=
and |number=
are used to construct the tweet's url. The |url=
that you supplied is ignored. Because |user=Israel Defense Forces
includes whitespace, Module:Cite tweet constructed a 'url' that looks like this:
https://x.com/Israel Defense Forces/status/270170595260510208
{{cite web}}
parameters to Module:Citation/CS1. That module notices the whitespace in the 'url' and emits the error message. Even so, Module:Citation/CS1 then creates this external link from the cite tweet url and |title=
:
[https://x.com/Israel Defense Forces/status/270170595260510208 Some numbers from the last 4 days: 544 rockets fired from #Gaza hit #Israel + 302 Iron Dome interceptions = 846 rockets fired at us]
{{Cite tweet |author=Israel Defense Forces |user=IDF |number=270170595260510208 |title=Some numbers from the last 4 days: 544 rockets fired from #Gaza hit #Israel + 302 Iron Dome interceptions=846 rockets fired at us |access-date=19 April 2012}}