Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -144,6 +144,11 @@ |
145 | 145 | 'scripts' => 'js/quickedit.js', |
146 | 146 | 'styles' => 'js/ext.translate.quickedit.css', |
147 | 147 | 'messages' => array( 'translate-js-nonext', 'translate-js-save-failed' ), |
| 148 | + 'dependencies' => array( |
| 149 | + 'jquery.form', |
| 150 | + 'jquery.ui.dialog', |
| 151 | + 'jquery.autoresize', |
| 152 | + ), |
148 | 153 | ) + $resourcePaths; |
149 | 154 | |
150 | 155 | $wgResourceModules['ext.translate.messagetable'] = array( |
Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -1197,9 +1197,6 @@ |
1198 | 1198 | |
1199 | 1199 | public static function addModules( OutputPage $out ) { |
1200 | 1200 | TranslateUtils::addModules( $out, array( |
1201 | | - 'jquery.form', |
1202 | | - 'jquery.ui.dialog', |
1203 | | - 'jquery.autoresize', |
1204 | 1201 | 'ext.translate.quickedit', |
1205 | 1202 | ) ); |
1206 | 1203 | |