Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -161,6 +161,13 @@ |
162 | 162 | 'scripts' => 'js/jquery.autoresize.js', |
163 | 163 | ) + $resourcePaths; |
164 | 164 | |
| 165 | +// Doesn't exist in 1.17, but declaring twice causes an error |
| 166 | +if ( version_compare( $wgVersion, '1.18', '<' ) ) { |
| 167 | +$wgResourceModules['jquery.form'] = array( |
| 168 | + 'scripts' => 'js/jquery.form.js', |
| 169 | +) + $resourcePaths; |
| 170 | +} |
| 171 | + |
165 | 172 | /** @endcond */ |
166 | 173 | |
167 | 174 | |
— | — | @@ -359,7 +366,7 @@ |
360 | 367 | '/^ext-collection/' => array( 'ext', 'collection' ), |
361 | 368 | '/^ext-flaggedrevs/' => array( 'ext', 'flaggedrevs' ), |
362 | 369 | '/^ext-readerfeedback/' => array( 'ext', 'readerfeedback' ), |
363 | | - '/^ext-semantic/' => array( 'ext', 'semantic' ), |
| 370 | + '/^ext-semantic/' => array( 'ext', 'semantic' ), |
364 | 371 | '/^ext-socialprofile/' => array( 'ext', 'socialprofile' ), |
365 | 372 | '/^ext-translate/' => array( 'ext', 'translate' ), |
366 | 373 | '/^ext-uniwiki/' => array( 'ext', 'uniwiki' ), |