It definitely needs a redesign or a different approach. I believe that
putting rendered view into data attributes is the worst practice ever. Data
is for data, and if you want to put rendering onto client's shoulders (that
is why you want these data attributes, right?), then you should not mix
client- and server-site together.
On Wed, Jan 23, 2013 at 4:46 PM, Alex Brollo <alex.brollo(a)gmail.com> wrote:
In the meantime, I tested the urlencode:...|WIKI
trick, it runs perfectly
for quotes, html tags as <br /> and links wikicode. Now it can be used both
for tl|Autore and tl|Intestazione into it.wikisource, and I hope into
tl|MediaWiki:Proofreadpage_index_template too. But it fails with
templates; templates passed as a parameter are parsed before urlencode can
do its masking job. See [[:commons:User:Alex brollo/Sandbox]] for my test,
which uses an instance of a modified tl|Book (my interest is focused to
Book and Creator templates).
Presently my way for data recovering is a simple AJAX query but as an
ecologist I'd like to save both band and server load. :-)
Alex brollo
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
З павагай,
Павел Селіцкас/Pavel Selitskas
Wizardist @ Wikimedia projects