From 925c0c61c9fb7d4281131c5bd5f7c4acfecacb44 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 30 Dec 2011 21:34:19 +0000 Subject: [PATCH] Per Raymond, fix for r107653: missed two changes from $section to $this->section --- includes/EditPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index aa43ba943e..83ce4e2efe 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -699,8 +699,8 @@ class EditPage { // For message page not locally set, use the i18n message. // For other non-existent articles, use preload text if any. - if ( !$this->mTitle->exists() || $section == 'new' ) { - if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI && $section != 'new' ) { + if ( !$this->mTitle->exists() || $this->section == 'new' ) { + if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI && $this->section != 'new' ) { # If this is a system message, get the default text. $text = $this->mTitle->getDefaultMessageText(); } -- 2.20.1