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





--- Comment #5 from Roan Kattouw <roan.katt...@gmail.com>  2009-11-26 14:07:43 
UTC ---
(In reply to comment #4)
> Frankly, I think onlyinclude is a quite strange feature, working a bit
> different from the other tags. As I understand it,
> 
> Foo<onlyinclude>Bar</onlyinclude>Baz
> 
> is supposed to work similar to
> 
> <noinclude>Foo</noinclude>Bar<noinclude>Baz</noinclude>
> 
> So your test case would translate to
> 
> <noinclude>1<nowiki>2</noinclude>3'''nowiki ->
> onlyinclude'''<noinclude>4</nowiki>5</noinclude>
> 
> which renders as
> 
> 3nowiki -> onlyinclude
> 
> when included, so the result you mention actually seems to be the expected
> output.
> 
I think this argument is wrong for two reasons. First, the onlyinclude tag is
inside a nowiki tag; stuff in nowiki tags should not be parsed ever, the parser
should leave it alone completely. Second, the 'translation' you give is flawed,
as it misnests noinclude and nowiki tags. The parser has to make sense out of
that tag soup, which kind of defeats your point.


-- 
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.

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

Reply via email to