Tei wrote:
On Tue, Nov 18, 2008 at 8:51 AM, Tim Starling tstarling@wikimedia.orgwrote: ...
There's no reason why an extension couldn't add an xmlish tag, like <htmlcomment>, which inserts an HTML comment and protects against IE conditional comments and similar constructs as appropriate. But unless someone can come up with an important application, I don't think it needs to be in the core.
Idea:
I don't know any important application. But any code lenguaje benefict from a system to make comment*. Like, maybe the sysntax is hard or you want to make a cavet for others.
What maybe is not need, is to generate a output of that comments. So <comment>This template url is broken, don't change it</comment> resulting in "" (nothing) on the html output. That way you also avoid evil uses of comments, like IE conditionals. Or "invisible comments edit wars".
*: Even the ugly SQL support comments, so,... why no the wiki sintax?
We have such a feature already, the syntax is <!-- -->, like in HTML.
-- Tim Starling