From ce7cefb93e0bd6d79723ad3efa3e033793afc939 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Sun, 3 Jul 2005 06:06:57 +0000 Subject: [PATCH] don't show link to licensing info if info is already transcluded --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .= "
"; -- 2.20.1