On Sun, Dec 30, 2012 at 4:20 AM, Paul Selitskas p.selitskas@gmail.comwrote:
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.