https://bugzilla.wikimedia.org/show_bug.cgi?id=25476
--- Comment #23 from Philippe Verdy <verd...@wanadoo.fr> 2011-09-02 09:15:16 UTC --- Note that a client-side javascript does not even need access to user's preferences to be stored on the server (so the user does not even need to be logged on). The main reason is that a client browser already knows the user's preferred locale, and this is also accessible to a javascript (for example the javascript can also look at the value of the MIME header "Accept-Language:é present in the HTTP query). Finally you may wonder: why a template ? Just look at which kind of additional markup must be present in the generated datetime, and you'll immediately see that this would not be very easy to edit when posting messages, quoting them, reediting them. A template invokation can be much more compact and still easy to interpret. The invokation of a protected template hides the details of how the additional markup is generated, to work in cooperation with a client-side javascript (also installed on the wiki). It is much simpler to edit a message containing: Blah blah... -- [[User:user name|user name]] {{int:datetime|2011|12|31|23|59}} rather than a message containing: Blah blah... -- [[User:user name|user name]] <span class="datetime" data="20111231235959">lundi 31 décembre 2011, 23h59 UTC</span> And stil definitely better than messages currently containing: Blah blah... -- [[User:user name|user name]] lundi 31 décembre 2011, 23h59 UTC which is impossible to adapt reliably to user's preferences. But all these messages will still be posted initially using: Blah blah... ~~~~ Do you understand now ? -- 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