From: Alexandre Emsenhuber Date: Fri, 30 Dec 2011 21:34:19 +0000 (+0000) Subject: Per Raymond, fix for r107653: missed two changes from $section to $this->section X-Git-Tag: 1.31.0-rc.0~25668 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=925c0c61c9fb7d4281131c5bd5f7c4acfecacb44;p=lhc%2Fweb%2Fwiklou.git Per Raymond, fix for r107653: missed two changes from $section to $this->section --- 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(); }