From: River Tarnell Date: Sun, 4 Nov 2007 19:26:01 +0000 (+0000) Subject: missing global $wgTitle causes errors on page save X-Git-Tag: 1.31.0-rc.0~51009 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=3779dc909eb2dd0bad37907fe55f347a2979c57b;p=lhc%2Fweb%2Fwiklou.git missing global $wgTitle causes errors on page save --- 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 );