Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -228,7 +228,8 @@ |
229 | 229 | function() { |
230 | 230 | if ( typeof mediaWiki.loader != 'undefined' && mediaWiki.loader ) { |
231 | 231 | mediaWiki.loader.using( |
232 | | - [ 'ext.wikiEditor', 'jquery.wikiEditor.toolbar', |
| 232 | + [ 'ext.wikiEditor', 'ext.wikiEditor.toolbar.i18n', |
| 233 | + 'jquery.wikiEditor.toolbar', |
233 | 234 | 'jquery.async', 'jquery.cookie' ], |
234 | 235 | finishSetup ); |
235 | 236 | } else { |
Index: trunk/extensions/WikiEditor/WikiEditor.php |
— | — | @@ -275,10 +275,13 @@ |
276 | 276 | 'scripts' => 'ext.wikiEditor.toolbar.js', |
277 | 277 | 'dependencies' => array( |
278 | 278 | 'ext.wikiEditor', |
| 279 | + 'ext.wikiEditor.toolbar.i18n', |
279 | 280 | 'jquery.wikiEditor.toolbar', |
280 | 281 | 'jquery.cookie', |
281 | 282 | 'jquery.async', |
282 | | - ), |
| 283 | + ) |
| 284 | + ), |
| 285 | + 'ext.wikiEditor.toolbar.i18n' => $wikiEditorTpl + array( |
283 | 286 | 'messages' => array( |
284 | 287 | // This is a mixed bunch that needs to be separated between dialog and toolbar messages, but since the |
285 | 288 | // dialog module depends on the toolbar module, it's not an urgent matter |