r99004 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99003‎ | r99004 | r99005 >
Date:13:58, 5 October 2011
Author:reedy
Status:ok
Tags:
Comment:
1 PHP Fatal error: Call to a member function wrapWikiMsg() on a non-object in /usr/local/apache/common-local/php-1.18/includes/specials/SpecialEmailuser.php on line 125

Looks like a merge artefact
Modified paths:
  • /branches/wmf/1.18wmf1/includes/specials/SpecialEmailuser.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/specials/SpecialEmailuser.php
@@ -122,7 +122,7 @@
123123 if( !$ret instanceof User ) {
124124 if( $this->mTarget != '' ) {
125125 $ret = ( $ret == 'notarget' ) ? 'emailnotarget' : ( $ret . 'text' );
126 - $out->wrapWikiMsg( "<p class='error'>$1</p>", $ret );
 126+ $wgOut->wrapWikiMsg( "<p class='error'>$1</p>", $ret );
127127 }
128128 $wgOut->addHTML( self::userForm( $this->mTarget ) );
129129 return false;

Follow-up revisions

RevisionCommit summaryAuthorDate
r100373REL1_18: MFT r98962, r98971, r99004, r99065reedy20:56, 20 October 2011

Status & tagging log