https://bugzilla.wikimedia.org/show_bug.cgi?id=21303
Summary: HTML comments are stripped from JavaScript
Product: MediaWiki
Version: 1.15.1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: User interface
AssignedTo: [email protected]
ReportedBy: [email protected]
Below line from my Monobook.js:
var rex = new RegExp ('<!--' + 'hak dla skryptu' + '-->', 'i');
Is rendered as:
var rex = new RegExp ('', 'i');
In JavaScript loaded from wikipages.
This bug makes impossible to use HTML comments for making marks for AJAX code.
--
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