Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -735,7 +735,7 @@ |
736 | 736 | // Get the descriptionUrl to embed it as comment into the thumbnail. Bug 19791. |
737 | 737 | $descriptionUrl = $this->getDescriptionUrl(); |
738 | 738 | if ( $descriptionUrl ) { |
739 | | - $params['descriptionUrl'] = $wgServer . $descriptionUrl; |
| 739 | + $params['descriptionUrl'] = wfExpandUrl( $descriptionUrl, PROTO_CANONICAL ); |
740 | 740 | } |
741 | 741 | |
742 | 742 | $script = $this->getTransformScript(); |