From d04502b698cc42e99cf24a73ac58847b6f1f2e77 Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Mon, 13 Aug 2012 21:15:53 +0100 Subject: [PATCH] (bug 24491) Don't show reupload link if the user can't upload because of protection Instead, show some text explaining that they cannot upload here. Also remove a linebreak which someone complained about recently. Change-Id: I92ab8ad5eebcdd38c0d5d9f7bab7d11e5c844586 --- includes/ImagePage.php | 7 +++++-- languages/messages/MessagesEn.php | 1 + languages/messages/MessagesQqq.php | 1 + maintenance/language/messages.inc | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index dad10c85a5..7aed39221e 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -654,12 +654,15 @@ EOT } $out = $this->getContext()->getOutput(); - $out->addHTML( "