jenkins-bot has submitted this change and it was merged.
Change subject: Obey the schema
......................................................................
Obey the schema
The current used schema requests that the edit count
is a number not a string otherwise it will not log
Change-Id: I827f6d36045ac285c7a8aa3e430ef68c0549b43a
---
M javascripts/modules/editor/EditorOverlay.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
JGonera: Looks good to me, approved
jenkins-bot: Verified
diff --git a/javascripts/modules/editor/EditorOverlay.js
b/javascripts/modules/editor/EditorOverlay.js
index 0b9cc08..dfde527 100644
--- a/javascripts/modules/editor/EditorOverlay.js
+++ b/javascripts/modules/editor/EditorOverlay.js
@@ -34,7 +34,7 @@
action: action,
section: this.sectionId,
namespace: mw.config.get(
'wgNamespaceNumber' ),
- userEditCount: mw.config.get(
'wgUserEditCount' ),
+ userEditCount: parseInt( mw.config.get(
'wgUserEditCount' ), 10 ),
isTestA: isTestA,
pageId: mw.config.get( 'wgArticleId' ),
username: mw.config.get( 'wgUserName' ),
--
To view, visit https://gerrit.wikimedia.org/r/75800
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I827f6d36045ac285c7a8aa3e430ef68c0549b43a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits