jenkins-bot has submitted this change and it was merged.
Change subject: Log VE saveIntent/saveAttempt
......................................................................
Log VE saveIntent/saveAttempt
Current code only handles wikitext editor
Bug: T110272
Change-Id: Ic8c9eeba884f1c74272c9f748dd753142418ace3
---
M resources/mobile.editor.ve/ve.init.mw.MobileFrontendArticleTarget.js
1 file changed, 24 insertions(+), 0 deletions(-)
Approvals:
Jforrester: Looks good to me, approved
jenkins-bot: Verified
diff --git
a/resources/mobile.editor.ve/ve.init.mw.MobileFrontendArticleTarget.js
b/resources/mobile.editor.ve/ve.init.mw.MobileFrontendArticleTarget.js
index 55584a2..112df7f 100644
--- a/resources/mobile.editor.ve/ve.init.mw.MobileFrontendArticleTarget.js
+++ b/resources/mobile.editor.ve/ve.init.mw.MobileFrontendArticleTarget.js
@@ -198,6 +198,30 @@
/*
* FIXME: @inheritdoc once this file is in the right repo
*/
+ve.init.mw.MobileFrontendArticleTarget.prototype.save = function () {
+ // Parent method
+ ve.init.mw.MobileFrontendArticleTarget.super.prototype.save.apply(
this, arguments );
+
+ this.overlay.log( {
+ action: 'saveAttempt'
+ } );
+};
+
+/*
+ * FIXME: @inheritdoc once this file is in the right repo
+ */
+ve.init.mw.MobileFrontendArticleTarget.prototype.showSaveDialog = function () {
+ // Parent method
+
ve.init.mw.MobileFrontendArticleTarget.super.prototype.showSaveDialog.apply(
this, arguments );
+
+ this.overlay.log( {
+ action: 'saveIntent'
+ } );
+};
+
+/*
+ * FIXME: @inheritdoc once this file is in the right repo
+ */
ve.init.mw.MobileFrontendArticleTarget.prototype.saveComplete = function () {
// Parent method
ve.init.mw.MobileFrontendArticleTarget.super.prototype.saveComplete.apply(
this, arguments );
--
To view, visit https://gerrit.wikimedia.org/r/243044
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8c9eeba884f1c74272c9f748dd753142418ace3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits