https://bugzilla.wikimedia.org/show_bug.cgi?id=34048
Web browser: ---
Bug #: 34048
Summary: Problem with Resource Loader JS minimization when
using OpenLayers
Product: MediaWiki
Version: unspecified
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],
[email protected]
Classification: Unclassified
It appears that the Javascript minimization of the Resource Loader works
incorrectly for Javascript from the OpenLayers application (which is used by
the Semantic Maps extension). See here:
http://mapping.referata.com/wiki/OpenLayers_examples
The Javascript error seems to come from the fact that the value
"8.58306884765625E-5" gets turned into:
8.58306884765625E
-5
...and the major browsers don't understand that. I'm guessing that the
minimizer considers "-" to be a safe character to put a newline before, but
that's not the case here.
By the way, as you might expect, with debugging on, the JS works fine:
http://mapping.referata.com/wiki/OpenLayers_examples?debug=true
--
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