Merge "The siteinfo API uses '' as an attribute value, not `true`."
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 18 Jun 2014 14:03:34 +0000 (14:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 18 Jun 2014 14:03:34 +0000 (14:03 +0000)
includes/api/ApiQuerySiteinfo.php

index ca7cc21..bb83110 100644 (file)
@@ -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'];