https://bugzilla.wikimedia.org/show_bug.cgi?id=19276





--- Comment #4 from Splarka <[email protected]>  2009-06-20 22:35:42 UTC ---
Okay, it looks like all skins have the "last modified" text. per
Skin::lastModified

However, they are not in an object with consistent class or id. It can be <li
id="lastmod">, <li id="foot-info-lastmod">, <p>, etc.

Suggest changing the bug to request the function to either: 
1) return $s wrapped in a <span id="lastmodmsg"> (excluding the
"wfMsg('laggedslavemode')" <strong> msg) and insert the unix timestamp as a
comment: <!--1245316447--> inside the span.

2) just wrap the comment in a span with unique ID (a bit silly).

3) just inserting the comment anywhere on the page (probably in the lastmod
function, for convenience) but with identifying characteristics, such as a
non-translated consistent string: <!--lastmod:1245316447-->.

Any of these would make it easy enough to report a much more accurate time
since last edit in javascript, even with cache.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to