Index: branches/wmf/1.17wmf1/extensions/UploadWizard/UploadWizardHooks.php |
— | — | @@ -26,7 +26,6 @@ |
27 | 27 | 'mediawiki.language', |
28 | 28 | 'mediawiki.Uri', |
29 | 29 | 'mediawiki.util', |
30 | | - 'mediawiki.libs.jpegmeta', |
31 | 30 | 'ext.uploadwizard.mediawiki.language.parser', |
32 | 31 | ), |
33 | 32 | 'scripts' => array( |
Index: branches/wmf/1.17wmf1/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js |
— | — | @@ -31,21 +31,14 @@ |
32 | 32 | }; |
33 | 33 | |
34 | 34 | var confirmIt = function() { |
35 | | - var buttons = [ |
36 | | - { |
37 | | - text: gM( 'mw-coolcats-confirm-new-cancel' ), |
38 | | - click: function() { |
39 | | - $( this ).dialog( "close" ); |
40 | | - } |
41 | | - }, |
42 | | - { |
43 | | - text: gM( 'mw-coolcats-confirm-new-ok' ), |
44 | | - click: function() { |
45 | | - insertIt(); |
46 | | - $( this ).dialog( "close" ); |
47 | | - } |
48 | | - } |
49 | | - ]; |
| 35 | + var buttons = {}; |
| 36 | + buttons[ gM( 'mw-coolcats-confirm-new-cancel' ) ] = function() { |
| 37 | + $( this ).dialog( "close" ); |
| 38 | + }; |
| 39 | + buttons[ gM( 'mw-coolcats-confirm-new-ok' ) ] = function() { |
| 40 | + insertIt(); |
| 41 | + $( this ).dialog( "close" ); |
| 42 | + }; |
50 | 43 | $j( '<div></div>' ) |
51 | 44 | .msg( 'mw-coolcats-confirm-new', title.getMainText() ) |
52 | 45 | .dialog( { |