r78276 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78275‎ | r78276 | r78277 >
Date:20:45, 12 December 2010
Author:ialex
Status:ok
Tags:
Comment:
Fix fatal error from r78264
Modified paths:
  • /trunk/phase3/includes/diff/DifferenceEngine.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/diff/DifferenceEngine.php
@@ -1006,7 +1006,7 @@
10071007 'undo' => $this->mNewid
10081008 ) );
10091009 $htmlLink = htmlspecialchars( wfMsg( 'editundo' ) );
1010 - $htmlTitle = Xml::expandAttributes( array( 'title' => $skin->titleAttrib( 'undo' ) ) );
 1010+ $htmlTitle = Xml::expandAttributes( array( 'title' => $wgUser->getSkin()->titleAttrib( 'undo' ) ) );
10111011 if ( $editable && !$this->mOldRev->isDeleted( Revision::DELETED_TEXT ) && !$this->mNewRev->isDeleted( Revision::DELETED_TEXT ) ) {
10121012 $this->mNewtitle .= " (<a href='$newUndo' $htmlTitle>" . $htmlLink . "</a>)";
10131013 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r784371.17: Merge tagged revisions from trunk: r77878, r77981, r77982, r77994, r780...catrope14:14, 15 December 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78264Followup r75763, fixup wrong change of deprecated method...reedy18:35, 12 December 2010

Status & tagging log