Page MenuHomePhabricator

Latest comment indicator does not update when a new comment/topic is published
Closed, ResolvedPublic

Description

This task involves the work with making sure the latest comment indicator updates the moment an edit is published to a talk page.

Behavior

  1. Using the desktop or mobile version of the site, visit a talk page where the latest comment indicator is available. E.g. https://patchdemo.wmflabs.org/wikis/916be355b2/wiki/User_talk:Peter.
  2. Make an edit to the page using one of the following: A) the Reply Tool, B) the New Topic Tool, C) the 2010 wikitext editor
  3. Scroll the page such that the latest comment indicator is in view:

Screen Shot 2022-06-03 at 12.31.43 PM.png (704×1 px, 193 KB)

Actual

  1. ❗️Notice the latest comment indicator is NOT updated to reflect the edit you published in "3."

Desired

  1. ✅ The latest comment indicator IS updated to reflect the edit you published in "3."

Event Timeline

I tested and it does work with the 2010 wikitext editor (since it reloads the whole page). It doesn’t work with the reply tool, though.

This is fixed in the latest patchset. I noticed a separate issue we have with MediaWiki's relative timestamp format, which is that it doesn't make sense to use for second-accuracy, as signatures are rounded down to the nearest minute. For example, here I am told that the comment I just posted was posted 37 seconds ago:

image.png (128×498 px, 13 KB)

We should file this as a separate issue, it may be non-trivial to fix.

Edit: Filed as T310090

ppelberg claimed this task.