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





--- Comment #2 from Splarka <h...@goldrush.com>  2009-06-18 09:16:44 UTC ---
This would be broken into little pieces by cache, and rather useless I think.

Here is an experimental gadget. It is necessarly a big ugly horrible mash of
functions to find what timezone offset the time given was actually in (one can
NOT assume it is the same as the browser's):
http://en.wikipedia.org/wiki/User:Splarka/lastmod.js

What could be done, is to have <li id="lastmod"> contain a comment like:

<li id="lastmod"> This page was last modified on 18 June 2009 at 00:54.
<!--1245316447--> </li>

This then could very easily be parsed as a Unix timestamp by javascript, making
the above gadget about 1/10th the size, with no API calls. There would also be
no cache issues.

Suggest repurpose the bug for exposing unix time (hidden?) into the <li>.


-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to