Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/96399
Change subject: Disable MobileWebInfobox's attemptLogEvent
......................................................................
Disable MobileWebInfobox's attemptLogEvent
Change-Id: I3efc1fa64ec804aab8410e24d483eeb19463eea3
---
M javascripts/loggingSchemas/MobileWebInfobox.js
1 file changed, 1 insertion(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/99/96399/1
diff --git a/javascripts/loggingSchemas/MobileWebInfobox.js
b/javascripts/loggingSchemas/MobileWebInfobox.js
index 2e0e1ac..4e29f87 100644
--- a/javascripts/loggingSchemas/MobileWebInfobox.js
+++ b/javascripts/loggingSchemas/MobileWebInfobox.js
@@ -9,16 +9,7 @@
recorded = false;
function attemptLogEvent() {
- if ( logData['in'] && logData.out && !recorded ) {
- recorded = true;
- clearInterval( interval );
- return M.log( 'MobileWebInfobox', logData );
- } else {
- /* Hijack below expects a deferred object. We should only log
on the first click to MobileWebInfobox
- In the situation where you click a link in the infobox then
click another the always handler should
- still be able to fire so that the link can be navigated to.*/
- return $.Deferred().resolve();
- }
+ return $.Deferred().resolve();
}
function detectInfobox() {
--
To view, visit https://gerrit.wikimedia.org/r/96399
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3efc1fa64ec804aab8410e24d483eeb19463eea3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits