Parse 'upload_source_url' message on SpecialUpload
authorMarius Hoch <hoo@online.de>
Tue, 28 Oct 2014 20:30:34 +0000 (21:30 +0100)
committerMarkTraceur <mtraceur@member.fsf.org>
Thu, 30 Oct 2014 16:11:22 +0000 (16:11 +0000)
Commons wants to use wikitext over there:
https://commons.wikimedia.org/wiki/MediaWiki:Upload_source_url

Change-Id: I7625fb58388de901b93744aa6d21de433f671483

includes/specials/SpecialUpload.php

index 51dd7bd..77ad9aa 100644 (file)
@@ -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',
                        );
                }