Page MenuHomePhabricator

"Last modified..." text differs between desktop and mobile
Closed, DeclinedPublic

Description

Expanding the date into a time-ago timestamp (client-side) makes sense. However, the username being included in the message and the phrasing of the message itself ("edited" vs. "modified"), should not differ from what the server generates. The user information is available server-side at no extra cost and tied to the same revision with regards to caching.

Event Timeline

Krinkle raised the priority of this task from to Needs Triage.
Krinkle updated the task description. (Show Details)
Krinkle subscribed.
Krinkle renamed this task from "Last modified .." flashes on screen and replaced by "Last modified .." to "Last modified .." flashes on screen, then replaced by "Last modified ..".Feb 11 2015, 8:21 AM
Krinkle set Security to None.
kaldari subscribed.

The message differing significantly is on purpose, as this was dictated by product/design. Apparently the same message was tried on desktop, but people objected to the fact that it only mentioned one user as they felt like this was unfair to the other editors of the article. So the desktop version was reverted, but the mobile version was left in place. Product and design prefer the version that is on mobile and the community prefers the version on desktop, so we are left with an awkward stalemate of differing messages. I'll CC Jared to see if he has any thoughts on this.

I'm also not sure what's causing the flash. Will have someone investigate further.

@Jaredzimmerman-WMF @MSyed On desktop the interface says: "This page was last modified on 10 January 2015, at 12:25". On mobile it says: "Last edited 1 month ago by Hafspajen". The fact that these differ is not ideal both from a UI consistency POV and from a code cleanliness POV, however, this seems to be the result of a stalemate between the WMF and the community. Is there any way we can resolve this situation or should we let sleeping dogs lie?

kaldari renamed this task from "Last modified .." flashes on screen, then replaced by "Last modified .." to "Last modified..." text differs between desktop and mobile.Feb 12 2015, 12:41 AM
kaldari updated the task description. (Show Details)

I split off a separate bug for the flash issue: T89310

I'd propose that we merge on a consistant "Last edited 1 month ago by Hafspajen" but have a tooltip on the simplified time, with the full, detailed time. Does that work for everyone?

I'd propose that we merge on a consistant "Last edited 1 month ago by Hafspajen" but have a tooltip on the simplified time, with the full, detailed time. Does that work for everyone?

Works for me. This seems common practice in other web apps as well and would user expectations I believe.

Jdlrobson subscribed.

Reflecting reality.