* Rv: Causing some kind of error, I'll change it back when I figure out what
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 2 Sep 2005 19:11:33 +0000 (19:11 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 2 Sep 2005 19:11:33 +0000 (19:11 +0000)
  the problem is

includes/Image.php

index 2d0aa06..bbf1d42 100644 (file)
@@ -1273,7 +1273,7 @@ class Image
 
                if ( $wgUseCopyrightUpload ) {
                        if ( $license != '' ) {
-                               $licensetxt = '== ' . wfMsg( 'license' ) . " ==$license\n";
+                               $licensetxt = '== ' . wfMsg( 'license' ) . " ==\n" . '{{' . $license . '}}' . "\n";
                        }
                        $textdesc = '== ' . wfMsg ( 'filedesc' ) . " ==\n" . $desc . "\n" .
                          '== ' . wfMsg ( 'filestatus' ) . " ==\n" . $copyStatus . "\n" .
@@ -1283,7 +1283,7 @@ class Image
                        if ( $license != '' ) {
                                $filedesc = $desc == '' ? '' : '== ' . wfMsg ( 'filedesc' ) . " ==\n" . $desc . "\n";
                                 $textdesc = $filedesc . 
-                                        '== ' . wfMsg ( 'license' ) . " ==\n$license\n";       
+                                        '== ' . wfMsg ( 'license' ) . " ==\n" . '{{' . $license . '}}' . "\n"; 
                        } else {
                                $textdesc = $desc;
                        }