From 3779dc909eb2dd0bad37907fe55f347a2979c57b Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Sun, 4 Nov 2007 19:26:01 +0000 Subject: [PATCH] missing global $wgTitle causes errors on page save --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 42f5b41b6e..ee0d6c6ae4 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -661,7 +661,7 @@ class EditPage { */ function internalAttemptSave( &$result ) { global $wgSpamRegex, $wgFilterCallback, $wgUser, $wgOut, $wgParser; - global $wgMaxArticleSize; + global $wgMaxArticleSize, $wgTitle; $fname = 'EditPage::attemptSave'; wfProfileIn( $fname ); -- 2.20.1