r80261 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80260‎ | r80261 | r80262 >
Date:13:25, 14 January 2011
Author:demon
Status:ok
Tags:
Comment:
Fix for r80248: undefined variable.
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -392,7 +392,7 @@
393393 $editnotice_ns = 'editnotice-'.$this->mTitle->getNamespace();
394394 $editnotice_ns_message = wfMessage( $editnotice_ns )->inContentLanguage();
395395 if ( $editnotice_ns_message->exists() ) {
396 - $wgOut->addWikiText( $editnotice_ns_msg->plain() );
 396+ $wgOut->addWikiText( $editnotice_ns_message->plain() );
397397 }
398398 if ( MWNamespace::hasSubpages( $this->mTitle->getNamespace() ) ) {
399399 $parts = explode( '/', $this->mTitle->getDBkey() );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r80248Implement Message::isBlank and Message::isDisabled....dantman10:51, 14 January 2011

Status & tagging log