https://bugzilla.wikimedia.org/show_bug.cgi?id=17486
--- Comment #15 from Platonides <[email protected]> 2010-01-10 11:03:55 UTC --- (In reply to comment #14) > What, like "this wikitext happened to produce malformed XML because our parser > is broken, so please figure out the necessary hacks to make our parser decide > to output well-formed content because we can't be bothered to fix it"? It's > not reasonable at all to have a fatal error here, anyway, because almost all > admins won't care in the slightest about XML well-formedness, and they should > have the right to place their own convenience over well-formedness. Why don't > we run Tidy on these fragments at save time instead of output time, maybe? We could cache a tidied html message, but that might produce problems with the substitutions. We would need a different caching for plural, {{PAGENAME}} etc.. I think we do run Tidy at "save time", since after saving the admin will go to the view of Mediawiki:whatever. If when they look at it they got a message "This message produces malformed xml when showed directly, please fix" that would be an improvement over having^W expecting admins manually check by themselves the xhtml wellformedness. If they don't know how to fix it, they can ask somewhere like [[Wikipedia:Village_pump_(all)#Technical]] or [[Wikipedia:MediaWiki_messages]]. At least they can remember that message they broke when their layout is broken because they forgot a </div> Or have it easier to find by others. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
