https://bugzilla.wikimedia.org/show_bug.cgi?id=1310

--- Comment #26 from Daniel Friesen <mediawiki-b...@nadir-seen-fire.com> 
2012-02-11 22:20:52 UTC ---
That as a <source> fix sounds to me more like a hack to fix a non-issue to me.
The <source> isn't written to explicitly do anything special with any <source>
tags inside of it so that does not sound like the thing we should be aiming
for. (And sounds like it would break if someone used <source> to document
example arguments to the opening <source> tag)

Switching over to a complete even tag matching could change the behaviour of
existing content -- ie: <foo><foo></foo> suddenly having different behaviour --
so I'd reject the patch we have on those grounds alone.

We probably also want to write a test to make sure that
<nowiki><nowiki></nowiki> doesn't suddenly start turning everything after it
into nowiki content when it was written expecting it to display a "<nowiki>"
tag verbatim in the page for documentation.

I think that if we do implement recursive tags, it's going to have to be an
explicit op-in by extensions feature. ie: Only tags with a specific option will
be parsed recursively. We can enable it on <ref> but we may not want to enable
it for <source>, and definitely don't want it on <nowiki>.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to