Page MenuHomePhabricator

Invitation banner is shown on talk pages with comments using other date formats
Closed, DuplicatePublic

Assigned To
None
Authored By
matej_suchanek
Aug 6 2022, 10:15 AM
Referenced Files
F35402518: obrazek.png
Aug 6 2022, 10:15 AM
F35402516: obrazek.png
Aug 6 2022, 10:15 AM
F35402514: obrazek.png
Aug 6 2022, 10:15 AM

Description

Translation from https://cs.wikipedia.org/wiki/Wikipedie:Pod_l%C3%ADpou_(technika)#Odkazy_na_neexistuj%C3%ADc%C3%AD_port%C3%A1ly:

Some talk pages (for example, Diskuse:Večerní univerzita marxismu-leninismu or Diskuse:Mluvnický pád) invite users with new topic tool to create a discussion, even though the talk page exists. By deduction, I determined it's caused by the pages not containing an up-to-date signature, but some older one (neither [ reply ] buttons after the comments are displayed), and not containing a header simultaneously. I believe this is an error since this invitation is missing on some other, sometimes smaller, talk pages (e.g., Diskuse:Velká růžová plavba teplého Ala). --David V.

Event Timeline

Esanders subscribed.

The timezone format on that wiki was changed around 2015 (https://cs.wikipedia.org/wiki/Diskuse:Hlavn%C3%AD_strana/Archiv3). I believe we identified this issue when we were deploying the reply tool, and obviously it affects all tools. Our assumption is that the vast majority of conversations that old have been archived.

While this change was in 2014 (T73902), a long ago, such changes may happen any time, and if a change happens after the deployment of DiscussionTools to the affected wiki, even one-day-old comments will be unreplyable. I think this is not okay and should be prepared for in advance; for example, a DiscussionTools configuration parameter could store historical values of the relevant core parameters so that DT could treat strings matching any of these formats signatures.

ppelberg added subscribers: matmarex, ppelberg.

@matmarex do you have a sense for whether there are any adjustments we can make to the comment parser such that it would recognize timestamps in these cases?

As a least-effort fix, could DiscussionTools always accept UTC timestamps regardless of wiki settings, too?
What about allowing matching "UTC" here and skipping this DST handling code when "UTC" is matched?

The issue description Invitation banner not always desired does not seem to match very well the time zone / signature date format problem discussed, maybe either the title should be improved, or new issue created?

I think the scope of this task is, and has always been, the date format problem, so no new task is needed. The title is indeed a bit vague.

matmarex renamed this task from Invitation banner not always desired to Invitation banner is shown on talk pages with comments using other date formats.Oct 18 2025, 11:22 AM

@Tacsipacsi (, @matmarex ) I think that an issue of post signature dates unrecognized (discussion tools timestamp link not made) is unrelated to some invitation banners (not widely known feature).

True… I remembered that there is an old bug report that is more specifically about unrecognized signatures due to dates in old formats, I'll close this as a duplicate of that.