Index: trunk/extensions/OpenSearchXml/ApiOpenSearchXml.php |
— | — | @@ -126,7 +126,7 @@ |
127 | 127 | if( $image ) { |
128 | 128 | $thumb = $image->transform( array( 'width' => 50, 'height' => 50 ), 0 ); |
129 | 129 | $item['Image'] = array( |
130 | | - 'source' => wfExpandUrl( $thumb->getUrl(), PROTO_CANONICAL ), |
| 130 | + 'source' => wfExpandUrl( $thumb->getUrl(), PROTO_CURRENT ), |
131 | 131 | //alt |
132 | 132 | 'width' => $thumb->getWidth(), |
133 | 133 | 'height' => $thumb->getHeight() ); |