jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/404962 )
Change subject: Restore isSupported as deprecated dummy function ...................................................................... Restore isSupported as deprecated dummy function Bug: T185143 Change-Id: I0be5d09390b70ee581262b4ba6421f5f51f2e696 --- M modules/jquery.wikiEditor.js 1 file changed, 14 insertions(+), 0 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/jquery.wikiEditor.js b/modules/jquery.wikiEditor.js index 5b098d8..691bcb3 100644 --- a/modules/jquery.wikiEditor.js +++ b/modules/jquery.wikiEditor.js @@ -61,6 +61,20 @@ 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 * * @param {Object} module Module object -- To view, visit https://gerrit.wikimedia.org/r/404962 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0be5d09390b70ee581262b4ba6421f5f51f2e696 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikiEditor Gerrit-Branch: master Gerrit-Owner: Esanders <esand...@wikimedia.org> Gerrit-Reviewer: Legoktm <lego...@member.fsf.org> Gerrit-Reviewer: TheDJ <hartman.w...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits