mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-30 19:15:43 +00:00
Merge "Remove dummy isSupported function, deprecated in REL1_31"
This commit is contained in:
commit
ac1db705fa
|
@ -60,20 +60,6 @@
|
|||
*/
|
||||
imgPath: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiEditor/modules/images/',
|
||||
|
||||
/**
|
||||
* Checks if the client supports WikiEditor.
|
||||
*
|
||||
* Since 1.31 this check is deprecated and can be skipped as all browsers
|
||||
* which are served JS by MediaWiki support WikiEditor.
|
||||
*
|
||||
* @deprecated since 1.31
|
||||
* @return {boolean}
|
||||
*/
|
||||
isSupported: function () {
|
||||
mw.log.warn( '$.wikiEditor.isSupported is deprecated.' );
|
||||
return true;
|
||||
},
|
||||
|
||||
/**
|
||||
* Checks if a module has a specific requirement
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue