[MediaWiki-commits] [Gerrit] Replace jQuery.browser with jquery.client - change (mediawiki...LiquidThreads)
jenkins-bot has submitted this change and it was merged. Change subject: Replace jQuery.browser with jquery.client .. Replace jQuery.browser with jquery.client Bug: 65679 Change-Id: I93f6adaf4ad9a3b3822c9a7459464bf705e9275b --- M LiquidThreads.php M lqt.js 2 files changed, 3 insertions(+), 1 deletion(-) Approvals: Jforrester: Looks good to me, approved jenkins-bot: Verified diff --git a/LiquidThreads.php b/LiquidThreads.php index 68813bb..6d7f1d5 100644 --- a/LiquidThreads.php +++ b/LiquidThreads.php @@ -87,6 +87,7 @@ 'mediawiki.action.edit.preview', 'mediawiki.api.watch', 'user.tokens', + 'jquery.client', 'mediawiki.api', 'mediawiki.util', ), diff --git a/lqt.js b/lqt.js index 4597c17..7f798ef 100644 --- a/lqt.js +++ b/lqt.js @@ -140,7 +140,8 @@ liquidThreads.cancelEdit( container ); - var isIE7 = $.browser.msie && $.browser.version.substr( 0, 1 ) === '7'; + var isIE7 = $.client.test( { 'msie': [['>=', 7], ['<', 8]] }, + $.client.profile(), true ); var loadSpinner = $( '' ); $( container ).before( loadSpinner ); -- To view, visit https://gerrit.wikimedia.org/r/140205 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I93f6adaf4ad9a3b3822c9a7459464bf705e9275b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/LiquidThreads Gerrit-Branch: master Gerrit-Owner: TheDJ Gerrit-Reviewer: Jforrester Gerrit-Reviewer: TheDJ Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Replace jQuery.browser with jquery.client - change (mediawiki...LiquidThreads)
TheDJ has uploaded a new change for review. https://gerrit.wikimedia.org/r/140205 Change subject: Replace jQuery.browser with jquery.client .. Replace jQuery.browser with jquery.client Bug: 65679 Change-Id: I93f6adaf4ad9a3b3822c9a7459464bf705e9275b --- M LiquidThreads.php M lqt.js 2 files changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiquidThreads refs/changes/05/140205/1 diff --git a/LiquidThreads.php b/LiquidThreads.php index 68813bb..6d7f1d5 100644 --- a/LiquidThreads.php +++ b/LiquidThreads.php @@ -87,6 +87,7 @@ 'mediawiki.action.edit.preview', 'mediawiki.api.watch', 'user.tokens', + 'jquery.client', 'mediawiki.api', 'mediawiki.util', ), diff --git a/lqt.js b/lqt.js index 4597c17..7f798ef 100644 --- a/lqt.js +++ b/lqt.js @@ -140,7 +140,8 @@ liquidThreads.cancelEdit( container ); - var isIE7 = $.browser.msie && $.browser.version.substr( 0, 1 ) === '7'; + var isIE7 = $.client.test( { 'msie': [['>=', 7], ['<', 8]] }, + $.client.profile(), true ); var loadSpinner = $( '' ); $( container ).before( loadSpinner ); -- To view, visit https://gerrit.wikimedia.org/r/140205 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I93f6adaf4ad9a3b3822c9a7459464bf705e9275b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/LiquidThreads Gerrit-Branch: master Gerrit-Owner: TheDJ Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits