https://bugzilla.wikimedia.org/show_bug.cgi?id=32858
Tim Starling <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #14 from Tim Starling <[email protected]> 2011-12-09 09:52:36 UTC --- For clarity: the (In reply to comment #7) > Duping here several related bugs, since i think this is the most clear case. > Either everything should be parsed, or nothing. > This means r103476 should be reverted (if we decide we go for the nothing > case, > it would be done somehere else). I don't like environment-dependent special cases in the parser like r103476, I think the proper place to decide what to do with a JS/CSS page is Article/WikiPage. > subst: could continue working in both cases (mentioned in bug 32450). > > Note that javascript authors can make the links in such way that they don't > get > registered (eg. '[' + '[Category'). > > As a third alternative, we could do a different kind of parsing for js pages, > so that wikitext would only be parsed inside js comments (bug 10410). I think a separate parser class along the lines of bug 10410 would be a nice way to go, it could implement syntax highlighting, linking and subst. But it's a bit late to develop that for 1.19. For now I am going to revert Hashar's changes and hack WikiPage somehow. -- 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
