Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -944,7 +944,7 @@ |
945 | 945 | |
946 | 946 | $response = self::mwServeCommand( 'render', array( |
947 | 947 | 'metabook' => $this->buildJSONCollection( $collection ), |
948 | | - 'base_url' => wfExpandUrl( $wgScriptPath, PROTO_CANONICAL ), |
| 948 | + 'base_url' => wfExpandUrl( $wgScriptPath, PROTO_CURRENT ), |
949 | 949 | 'script_extension' => $wgScriptExtension, |
950 | 950 | 'template_blacklist' => wfMsgForContent( 'coll-template_blacklist_title' ), |
951 | 951 | 'template_exclusion_category' => wfMsgForContent( 'coll-exclusion_category_title' ), |
— | — | @@ -977,7 +977,7 @@ |
978 | 978 | |
979 | 979 | $response = self::mwServeCommand( 'render', array( |
980 | 980 | 'collection_id' => $collectionID, |
981 | | - 'base_url' => wfExpandUrl( $wgScriptPath, PROTO_CANONICAL ), |
| 981 | + 'base_url' => wfExpandUrl( $wgScriptPath, PROTO_CURRENT ), |
982 | 982 | 'script_extension' => $wgScriptExtension, |
983 | 983 | 'template_blacklist' => wfMsgForContent( 'coll-template_blacklist_title' ), |
984 | 984 | 'template_exclusion_category' => wfMsgForContent( 'coll-exclusion_category_title' ), |
— | — | @@ -1153,7 +1153,7 @@ |
1154 | 1154 | |
1155 | 1155 | $response = self::mwServeCommand( 'zip_post', array( |
1156 | 1156 | 'metabook' => $this->buildJSONCollection( $collection ), |
1157 | | - 'base_url' => wfExpandUrl( $wgScriptPath, PROTO_CANONICAL ), |
| 1157 | + 'base_url' => wfExpandUrl( $wgScriptPath, PROTO_CURRENT ), |
1158 | 1158 | 'script_extension' => $wgScriptExtension, |
1159 | 1159 | 'template_blacklist' => wfMsgForContent( 'coll-template_blacklist_title' ), |
1160 | 1160 | 'template_exclusion_category' => wfMsgForContent( 'coll-exclusion_category_title' ), |