it can't be done client side. It must be done on both sides, so that user can save their preference into database without having to set it everytime they get their cookies wiped (which in my case is like 10 times a day just by switching devices and browsers)
On Fri, Jan 17, 2014 at 7:15 PM, Gabriel Wicke <[email protected]> wrote: > On 01/17/2014 12:58 AM, Petr Bena wrote: >> I think it would be cool if an extension was created which would allow >> everyone to specify what units they prefer, and the values in articles >> would be converted automatically based on preference. > > Whatever you do, make it client-side. It would be great to expose type > information with an attribute in HTML, so that it can be used for > client-side unit conversions. Ideally the typed information comes > directly from wikidata (and can be fed to nice table/pie chart/whatever > widgets), but it should also not be too hard to mark up data that lives > on the wiki the same way. > > Gabriel > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
