On Sun, Dec 30, 2012 at 4:20 AM, Paul Selitskas <p.selits...@gmail.com>wrote:

> Perhaps, you chose the wrong approach. Dig in HTML5 data attributes, for
> examples. That's a better data interface between wikipage code and the
> View. You can then access them with $(selector).data() method.
>

+1. I've been using this on a few gadgets I've been writing and it is
wonderful. This was possible only recently, though - ever since HTML5 was
enabled on WMF wikis.

-- 
Yuvi Panda T
http://yuvi.in/blog
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to