jenkins-bot has submitted this change and it was merged.
Change subject: Instrument the widget-click-none WikiGrok action
......................................................................
Instrument the widget-click-none WikiGrok action
When the submits no correct answers, i.e. they click "None of these",
then log the widget-click-none action.
Change-Id: Ia80cbe0bf7fb94a2d49b1adb810ba3e4846ffc74
---
M includes/Hooks.php
M resources/dialog.b/WikiGrokDialogB.js
2 files changed, 5 insertions(+), 1 deletion(-)
Approvals:
Bmansurov: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Hooks.php b/includes/Hooks.php
index 876d324..85c4a47 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -313,7 +313,7 @@
global $wgResourceModules,
$wgWikiGrokResourceFileModuleBoilerplate;
$wikiGrokEventLoggingSchemas = array(
- 'MobileWebWikiGrok' => 10352247,
+ 'MobileWebWikiGrok' => 10735928,
'MobileWebWikiGrokError' => 10353516,
);
diff --git a/resources/dialog.b/WikiGrokDialogB.js
b/resources/dialog.b/WikiGrokDialogB.js
index 378a292..cce543a 100644
--- a/resources/dialog.b/WikiGrokDialogB.js
+++ b/resources/dialog.b/WikiGrokDialogB.js
@@ -153,6 +153,10 @@
} );
self.log( 'widget-click-submit' );
} );
+
+ self.$( '.footer .none' ).on( 'click', function () {
+ self.log( 'widget-click-none' );
+ } );
},
/**
* @inheritdoc
--
To view, visit https://gerrit.wikimedia.org/r/191319
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia80cbe0bf7fb94a2d49b1adb810ba3e4846ffc74
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/WikiGrok
Gerrit-Branch: master
Gerrit-Owner: Phuedx <[email protected]>
Gerrit-Reviewer: Bmansurov <[email protected]>
Gerrit-Reviewer: Phuedx <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits