Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a4057fe4fbc0c60e

Jump to content

Template talk:Cite tweet

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Cite tweet)
Latest comment: 19 days ago by Jonesey95 in topic Better handling of invalid dates needed

Edit request 8 March 2026

[edit]

Description of suggested change: Per consensus from this recent Twitter RM that determined "X" is the new common name for the social network, it is reasonable to assume that quite a few users would be expecting to see that branding when they are looking for Twitter cites, especially ones added recently. I am requesting that the Twitter link for |via= on line 116 be updated to reflect this new consensus. I am not sure whether the bare "Twitter" mention before the link would also require updating, or if it suffices as it is.


Diff:

−
via = args_t.link == 'no' and 'Twitter' or '[[Twitter]]',
+
via = args_t.link == 'no' and 'Twitter' or '[[X (formerly Twitter)]]',

— Trailblazer101🔥 (discuss · contribs) 05:50, 8 March 2026 (UTC)Reply

Done for twitter snowflake dates from 2023-07-23 per discussions above.
—Trappist the monk (talk) 11:55, 8 March 2026 (UTC)Reply

Date in comment

[edit]

@Trappist the monk: Minor request. The module's current code has:

if 20240517 > tonumber (test_date) then    -- the switch to x.com was completed 2025-05-17

Please correct the year in the comment to 2024. :) Opencooper (talk) 08:43, 15 March 2026 (UTC)Reply

Better handling of invalid dates needed

[edit]

This template emits a script error (Lua error in Module:TwitterSnowflake at line 48: attempt to index local 'x' (a nil value).) upon finding an invalid date:

{{Cite tweet|author=Yan RUTILI|user=YRUTILI|number=1526313753469456384|date=16 mai 2022|title=Il s'agit des radicaux de gauche auxquels j'adhère (...)}}

→ Lua error in Module:TwitterSnowflake at line 48: attempt to index local 'x' (a nil value).

{{Cite tweet|author=Yan RUTILI|user=YRUTILI|number=1526313753469456384|date=16 May 2022|title=Il s'agit des radicaux de gauche auxquels j'adhère (...)}}

→ Yan RUTILI [@YRUTILI] (16 May 2022). "Il s'agit des radicaux de gauche auxquels j'adhère (...)" (Tweet) – via Twitter.

Can it be tweaked to handle erroneous dates better? – Jonesey95 (talk) 13:14, 5 September 2026 (UTC)Reply