r107658 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107657‎ | r107658 | r107659 >
Date:21:34, 30 December 2011
Author:ialex
Status:ok
Tags:
Comment:
Per Raymond, fix for r107653: missed two changes from $section to $this->section
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -699,8 +699,8 @@
700700
701701 // For message page not locally set, use the i18n message.
702702 // For other non-existent articles, use preload text if any.
703 - if ( !$this->mTitle->exists() || $section == 'new' ) {
704 - if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI && $section != 'new' ) {
 703+ if ( !$this->mTitle->exists() || $this->section == 'new' ) {
 704+ if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI && $this->section != 'new' ) {
705705 # If this is a system message, get the default text.
706706 $text = $this->mTitle->getDefaultMessageText();
707707 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107653* Inverted the precedence between section edition and revision undoing, now u...ialex20:43, 30 December 2011

Status & tagging log