From 780059965054742bfffe5fcdf39ba4f6a7c79c65 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 27 Jul 2010 17:23:06 +0000 Subject: [PATCH] Partial revert of r69883. Broke page deletion because of missing global. Nikerabbit suggested complete revert of r69883. --- includes/Article.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/Article.php b/includes/Article.php index e712fa8161..e4f0590e7f 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2913,6 +2913,8 @@ class Article { // If the page has a history, insert a warning if ( $hasHistory && !$confirm ) { + global $wgLang; + $skin = $wgUser->getSkin(); $revisions = $this->estimateRevisionCount(); //FIXME: lego -- 2.20.1