From: C. Scott Ananian Date: Tue, 17 Jun 2014 14:51:26 +0000 (-0400) Subject: The siteinfo API uses '' as an attribute value, not `true`. X-Git-Tag: 1.31.0-rc.0~15350^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=3f9d79ebe00736e698ad0493188153eef7fdec39;p=lhc%2Fweb%2Fwiklou.git The siteinfo API uses '' as an attribute value, not `true`. Bug: 66723 Change-Id: Ibef772a72bac6b700ba2a3725832f50b057bf503 --- diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index ca7cc21c8d..bb83110151 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -401,7 +401,7 @@ class ApiQuerySiteinfo extends ApiQueryBase { } $val['url'] = wfExpandUrl( $row['iw_url'], PROTO_CURRENT ); if (substr( $row['iw_url'], 0, 2) == '//') { - $val['protorel'] = true; + $val['protorel'] = ''; } if ( isset( $row['iw_wikiid'] ) ) { $val['wikiid'] = $row['iw_wikiid'];