https://bugzilla.wikimedia.org/show_bug.cgi?id=18820
--- Comment #2 from Ronga <[email protected]> 2009-05-17 15:10:41 UTC --- How to escape? None of the following methods work: * using <nowiki> tag * using <includeonly> tag * using < (for obvious reasons) It's impossible to escape it. What you can only do is to intentionally break that syntax, but this has display disadvantage and wrong syntax highlights. You have to tell the users about it too. But they often don't read so it will lead to unnecessary misunderstanding. a) I wonder if you could offer something like this: http://www.mediawiki.org/w/index.php?title=Extension:Labeled_Section_Transclusion&oldid=255140#How_it_works For example <source begin=code1 /> this is your code <source end=code1 /> b) Or offer a second syntax, let's say <syntaxhighlight> or <sourcehighlight>?? So far no source code uses those syntax. c) Or offer a way to escape <source>?? This option is kinda suboptimal as this leads to extra work. Quite many source codes use the syntax <source> too: http://www.google.com/codesearch?hl=en&lr=&q=%3Csource%3E&sbtn=Search Thanks! -- 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
