use the new extension registration key 'QUnitTestModule'.
* (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
code that needs this behaviour should use OO.ui.debounce/throttle.
+* The mw.language.specialCharacters property from the
+ 'mediawiki.language.specialCharacters' module has been deprecated.
+ Use require( 'mediawiki.language.specialCharacters' ) instead.
=== Other changes in 1.33 ===
* (T208871) The hard-coded Google search form on the database error page was
return text;
},
- setSpecialCharacters: function ( data ) {
- this.specialCharacters = data;
- },
-
/**
* Formats language tags according the BCP 47 standard.
* See LanguageCode::bcp47 for the PHP implementation.
( function () {
var specialCharacters = require( './specialcharacters.json' );
- mw.language.setSpecialCharacters( specialCharacters );
+ // Deprecated since 1.33
+ mw.log.deprecate( mw.language, 'specialCharacters', specialCharacters,
+ 'Use require( \'mediawiki.language.specialCharacters\' ) instead',
+ 'mw.language.specialCharacters'
+ );
module.exports = specialCharacters;
}() );