Last modified: 2012-02-02 00:21:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36048, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34048 - Problem with ResourceLoader JS minification when using OpenLayers
Problem with ResourceLoader JS minification when using OpenLayers
Status: RESOLVED DUPLICATE of bug 32548
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-30 18:10 UTC by Yaron Koren
Modified: 2012-02-02 00:21 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yaron Koren 2012-01-30 18:10:46 UTC
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
Comment 1 Michael M. 2012-02-01 08:50:59 UTC

*** This bug has been marked as a duplicate of bug 32548 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links