Hi crew,
great to finally get a discussion on that topic.
I of course see the point of fixing broken tags in templates to keep the generated HTML clean. But besides tags that are left unclosed accidentally, we have a real use case for this as we see for the box template.
Since I'm not too long into wiki usage, the suggestion might be wrong, but maybe it could solve this issue: A flag that turns on/off the parser's "error handling" by adding something like __DO_NOT_FIX_TAGS__ would be cool. Feasible or not?
Thanks, Gerrit
On 1/27/06, Rick DeNatale rick.denatale@gmail.com wrote:
On 1/26/06, Brion Vibber brion@pobox.com wrote:
Rick DeNatale wrote:
On 1/26/06, Brion Vibber brion@pobox.com wrote:
Gerrit Quast wrote:
The problem is that for every template, mediawiki closes tags that left open. The second template (only the closing DIV) is escaped and appears as clear text.
IIRC, there's a bug in the parser cleanup when HTML Tidy is enabled which causes it to _not_ close the open tags for each template.
Of course one man's bug is another feature.
Well, that "feature" will break, badly, in future versions of MediaWiki which fix up the parser.
I don't use it myself, but when it breaks, it's going to break a LOT of portal pages on wikipedia.
-- Rick DeNatale
Visit the Project Mercury Wiki Site http://www.mercuryspacecraft.com/ _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
Gerrit Quast
gerrit@gerritquast.org http://www.gerritquast.org