From: Marius Hoch Date: Tue, 28 Oct 2014 20:30:34 +0000 (+0100) Subject: Parse 'upload_source_url' message on SpecialUpload X-Git-Tag: 1.31.0-rc.0~13445 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=36a423e46353b013e6f64c765d8de1eb9e3444f5;p=lhc%2Fweb%2Fwiklou.git Parse 'upload_source_url' message on SpecialUpload Commons wants to use wikitext over there: https://commons.wikimedia.org/wiki/MediaWiki:Upload_source_url Change-Id: I7625fb58388de901b93744aa6d21de433f671483 --- diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index 51dd7bd10b..77ad9aa522 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -746,7 +746,7 @@ class SpecialUpload extends SpecialPage { * * @todo What about non-BitmapHandler handled files? */ - static public function rotationEnabled() { + public static function rotationEnabled() { $bitmapHandler = new BitmapHandler(); return $bitmapHandler->autoRotateEnabled(); } @@ -903,7 +903,7 @@ class UploadForm extends HTMLForm { $this->getContext()->getLanguage()->formatSize( $this->mMaxUploadSize['url'] ) )->parse() . $this->msg( 'word-separator' )->escaped() . - $this->msg( 'upload_source_url' )->escaped(), + $this->msg( 'upload_source_url' )->parse(), 'checked' => $selectedSourceType == 'url', ); }