Page MenuHomePhabricator

Reply link is not showing up for a comment on fr.wiki
Closed, DeclinedPublic

Description

Steps to reproduce:

  1. Go to this page: https://fr.wikipedia.org/wiki/Discussion_Wikip%C3%A9dia:Accueil_principal/archive14?dtenable=1#14th

Observe that, there is no reply link for the comment from Xinpeijin [blabla] 15 juillet 2007 à 22
51 (CEST)

Event Timeline

Ryasmeen created this task.Feb 20 2020, 7:40 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 20 2020, 7:40 PM

Hmm, @matmarex, do you know why the issue Rummana is describing in the task description might be occurring?

My thought: the reply link is not being appended to this particular comment [1] because the author's signature is wrapped in <sup><small> </sup></small> tags. Although, when I wrapped my signature in those same tags [2], the reply link appeared as I expected it to.


  1. "Thanks Xinpeijin [blabla] 15 juillet 2007 à 22 51 (CEST)"
  2. https://en.wikipedia.beta.wmflabs.org/w/index.php?title=User_talk%3APpelberg-test&type=revision&diff=413988&oldid=413865

Well the formatting is super messed up, there's a newline in the middle of the timestamp (where a ':' should be).

The wikitext code for this comment is:

;Thanks [[Utilisateur:Xinpeijin|Xinpeijin]]<sup><small> &#91;[[Discussion Utilisateur:Xinpeijin|blabla]]&#93;</small></sup> 15 juillet 2007 à 22:51 (CEST)

I can see what happens here – we've accidentally generated a definition list markup. https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Lists#Description_(definition,_association)_lists

The line starts with ; (semicolon), as opposed to the usual : or *, which begins the definition "name". And the : (colon) later on the line, in the middle of the time (22:51), begins the definition "value". The wikitext parser doesn't understand that this part is a timestamp.

I don't think we can do anything to parse this comment. It's just an unfortunate rare wikitext mistake. (And good news is that it will be impossible to make this mistake with our tool.)

ppelberg closed this task as Declined.Feb 21 2020, 7:28 PM

This makes sense – thank you for explaining what's going on, Bartosz.

I'm going to mark this as Declined considering we do not plan to address this issues.


Meta: Rummana, I'm glad you filed this and Bartosz thank you for being as thorough as you were in T245768#5907842. This explanation will come in handy when we do this: T245858: Publish replying 1.0 reliability evaluation on MediaWiki