[Bug 27492] JS minification error with regular expressions

2011-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27492

Roan Kattouw  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #3 from Roan Kattouw  2011-02-17 17:08:37 
UTC ---
This only fails for regexes which contain a slash at the end (causing //) AND
contain a slash somewhere in the middle (causing the minifier to incorrectly
regard it as the end of the regex).

Fixed in r82340

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27492] JS minification error with regular expressions

2011-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27492

--- Comment #2 from Krinkle  2011-02-17 11:45:38 UTC ---
http://translatewiki.net/w/load.php?debug=false&lang=nl&modules=site&only=scripts&skin=modern

jQuery(document).ready(function($){
var $this=$('#content');
if(/\/commons\

   |> SyntaxError: Parse error

});
mediaWiki.loader.state({"site":"ready"});

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27492] JS minification error with regular expressions

2011-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27492

Krinkle  changed:

   What|Removed |Added

 CC||krinklem...@gmail.com
 Blocks||26611, 26676

--- Comment #1 from Krinkle  2011-02-17 11:44:24 UTC ---
Test case:


http://translatewiki.net/wiki/MediaWiki:Modern.js?useskin=modern

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l