Page MenuHomePhabricator

wdqs-app-footer-updated-after must include the date
Closed, ResolvedPublic

Description

The message Wdqs-app-footer-updated-after only says "ago", and I guess that it is supposed to be stuck after the time. If the whole string says something like "two days ago", then it must also include the time itself. It would probably be best to use the same library that Flow uses (not sure if it's Moment.js or something else).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Smalyshev subscribed.

Yeah it'd be nice for WDQS to predict Wikidata edits but I suppose that's not happening yet ;) So WDQS is always behind wikidata, even if by a little. Making it displayed as a whole string by a library may be nice, if we have one. Adding @Jonas.

It's possible that I misunderstand the purpose of the string, but that's something that the qqq should make clear :)

There should be only one message instead of two.
Something like "Data updated $1 ago"
The $1 is updated frequently and on mouse over.

I have no objection to making it single message

The issue here is that for Asturian, Spanish and other languages we need the string for $time to come after the string for $ago to get a correct sentence.
Regards.

Jonas reassigned this task from Stas to Smalyshev.
Jonas added a subscriber: Stas.

Change 307473 had a related patch set uploaded (by Smalyshev):
Display data updated message as single message.

https://gerrit.wikimedia.org/r/307473

Change 307473 merged by jenkins-bot:
Display data updated message as single message.

https://gerrit.wikimedia.org/r/307473