From: Erik Moeller Date: Sun, 3 Jul 2005 06:06:57 +0000 (+0000) Subject: don't show link to licensing info if info is already transcluded X-Git-Tag: 1.5.0beta2~60 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=ce7cefb93e0bd6d79723ad3efa3e033793afc939 don't show link to licensing info if info is already transcluded --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index b6ad080b59..f950dcaa1e 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -243,7 +243,7 @@ class ImagePage extends Article { $url = $wgRepositoryBaseUrl . urlencode($this->mTitle->getDBkey()); $sharedtext = "
" . wfMsg("sharedupload"); - if ($wgRepositoryBaseUrl) { + if ($wgRepositoryBaseUrl && !$wgFetchCommonsDescriptions) { $sharedtext .= " " . wfMsg("shareduploadwiki", $url); } $sharedtext .= "
";