On 29/12/12 22:23, Alex Brollo wrote:
> I'd like to use html comment into raw wiki text, to use them  as effective,
> server-unexpensive "data containers" that could be read and parsed by a js
> script in view mode. But I see that html comment, written into raw wiki
> text, are stripped away by parsing routines. I can access to raw code of
> current page in view mode by js with a index.php or an api.php call, and I
> do, but this is much more server-expensive IMHO.
> 
> Is there any sound reason to strip html comments away? If there is no sound
> reason, could such a stripping be avoided?

They are wikitext comments, defined to be stripped for the final user.

I think there is an extension allowing to output html comments. You can
also use some tag properties as containers.


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to