From: Ævar Arnfjörð Bjarmason Date: Fri, 2 Sep 2005 19:11:33 +0000 (+0000) Subject: * Rv: Causing some kind of error, I'll change it back when I figure out what X-Git-Tag: 1.6.0~1732 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=ca50b7dc6531fef18323eb4e04c25084f98a2174;p=lhc%2Fweb%2Fwiklou.git * Rv: Causing some kind of error, I'll change it back when I figure out what the problem is --- diff --git a/includes/Image.php b/includes/Image.php index 2d0aa06eff..bbf1d428c9 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -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; }