jenkins-bot has submitted this change and it was merged.

Change subject: API: 'editable' is a legacy boolean, don't convert it
......................................................................


API: 'editable' is a legacy boolean, don't convert it

See https://lists.wikimedia.org/pipermail/mobile-l/2015-April/009038.html

Change-Id: Ia75886c4edf73ba57564508732db120254a9f6ca
(cherry picked from commit 6197b709311804c951dc97227fc63227c1fe10da)
---
M includes/api/ApiMobileView.php
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Phuedx: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/api/ApiMobileView.php b/includes/api/ApiMobileView.php
index ab30dce..72fcc30 100644
--- a/includes/api/ApiMobileView.php
+++ b/includes/api/ApiMobileView.php
@@ -228,7 +228,10 @@
                                $editable = intval( $editable );
                        }
                        $this->getResult()->addValue( null, 
$this->getModuleName(),
-                               array( 'editable' => $editable )
+                               array(
+                                       'editable' => $editable,
+                                       ApiResult::META_BC_BOOLS => array(' 
editable' ),
+                               )
                        );
                }
                // https://bugzilla.wikimedia.org/show_bug.cgi?id=51586

-- 
To view, visit https://gerrit.wikimedia.org/r/207405
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia75886c4edf73ba57564508732db120254a9f6ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: wmf/1.26wmf2
Gerrit-Owner: Phuedx <g...@samsmith.io>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Phuedx <g...@samsmith.io>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to