https://bugzilla.wikimedia.org/show_bug.cgi?id=30857
--- Comment #13 from Yuvi Panda <[email protected]> --- Alright, so current 'consensus' seems to be: 1. Have PHP emit what it currently does, but add a data attribute with a machine readable timestamp and also a class or some such 2. Have JS (top loaded?) look for any element with the class added in (1), and then replace it with an appropriate relative time 3. Depending on how long ago the time is, we can use a setTimeout to make sure we keep updating it as time goes on, so that relative times are always correct Open questions: 1. Can we top-load this JS? 2. Can we top-load JS if we don't use jQuery? 3. Can we top-load JS if we just supported not-too-old browsers and did not use jQuery? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
