MediaWiki (1.16) is using lots of JS files and that's why I started minify and compress them. Compression is done by JavascriptPacker (http://joliclic.free.fr/php/javascript-packer/en/ ). But if more JS files are packed to one shorter form, browsers get allergic to the missing semicolons.
I started using the new editing interface (part of the UsabilityInitiative extension) and its JS files contained some syntax errors.
Please, put semicolons at the end of the following lines:
UsabilityInitiative/js/usability.js:
- 11
/plugins/jquery.async.js:
- 47
- 69
- 75
- Because this file is part of an other project I filed a bug report there also. Its URL: http://plugins.jquery.com/content/syntax-error-file-jqueryasyncjs
/plugins/jquery.textSelection.js:
- 168
- 180
- 192
/plugins/jquery.wikiEditor.js:
- 1430
- 1442
- 1454
/plugins/jquery.wikiEditor.templateEditor.js:
- 450
- 474
I don't know whether you have write access to the /skins/common directory, but if so, please do this with the other two files, and I won't open an other report for it:
/skins/common/ajaxwatch.js:
- 68
/skins/common/ajax.js
- 39
- 148
Thank you!
Btw, I know you are doing some type of work like this (ResoureLoader) and maybe you are interested in the following (I don't know to whom should I tell this).
After packing files, I got the following error:
(this.uiDialogTitlebarCloseText = $("<span/>")).addClass("ui-icon ui-icon-closethick").text(options.closeText).appendTo is not a function
It was a jQuery UI 1.7 bug and after upgrading to >1.8.6 this problem solved. However, in 1.8 the js2stopgap/ui.draggable.js will depend on ui.mouse.js so that should be loaded first.
Version: unspecified
Severity: minor