From: Ævar Arnfjörð Bjarmason Date: Wed, 31 Aug 2005 15:57:04 +0000 (+0000) Subject: * Not inserting {{ and }} automatically around the licensed text X-Git-Tag: 1.6.0~1744 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=3eccee3b35db750d7268211810f561fcf7ced4e1;p=lhc%2Fweb%2Fwiklou.git * Not inserting {{ and }} automatically around the licensed text --- diff --git a/includes/Image.php b/includes/Image.php index bbf1d428c9..2d0aa06eff 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -1273,7 +1273,7 @@ class Image if ( $wgUseCopyrightUpload ) { if ( $license != '' ) { - $licensetxt = '== ' . wfMsg( 'license' ) . " ==\n" . '{{' . $license . '}}' . "\n"; + $licensetxt = '== ' . wfMsg( 'license' ) . " ==$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; }