https://bugzilla.wikimedia.org/show_bug.cgi?id=31187
Web browser: ---
Bug #: 31187
Summary: jsmin+ throws syntax errors on valid js pages
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Resource Loader
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
On http://eo.wikipedia.org a javascript error is thrown:
"JavaScript parse error: Parse error: Illegal token in file
'MediaWiki:Common.js' on line 669", although the mentioned page contains
perfectly valid js.
Since r91608, jsmin+ is used to validate js pages, which seems to be too strict
about identifiers that contain non-ascii-chars.
As a workaround $wgResourceLoaderValidateJS can be disabled by default until
this is resolved.
--
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