From 182ad2f5f48426d5a8a48143e72b8c545dbf2d30 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 19 Oct 2009 18:24:32 +0000 Subject: [PATCH] * (bug 21183) Missing global declaration of $wgLang in SpecialUpload::processVerificationError() Patch by Platonides - http://bug-attachment.wikimedia.org/attachment.cgi?id=6686 --- includes/specials/SpecialUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index acd6797617..4339f43dfb 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -405,7 +405,7 @@ class SpecialUpload extends SpecialPage { * @param array $details Result of UploadBase::verifyUpload */ protected function processVerificationError( $details ) { - global $wgFileExtensions; + global $wgFileExtensions, $wgLang; switch( $details['status'] ) { -- 2.20.1