Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/75800


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/00/75800/1

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: newchange
Gerrit-Change-Id: I827f6d36045ac285c7a8aa3e430ef68c0549b43a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to