From: Alexandre Emsenhuber Date: Sun, 12 Dec 2010 20:45:32 +0000 (+0000) Subject: Fix fatal error from r78264 X-Git-Tag: 1.31.0-rc.0~33349 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=683dcdc83aad5154affd443ae73270efa874764d;p=lhc%2Fweb%2Fwiklou.git Fix fatal error from r78264 --- diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index ff2d247478..83318ddcb6 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -1006,7 +1006,7 @@ CONTROL; 'undo' => $this->mNewid ) ); $htmlLink = htmlspecialchars( wfMsg( 'editundo' ) ); - $htmlTitle = Xml::expandAttributes( array( 'title' => $skin->titleAttrib( 'undo' ) ) ); + $htmlTitle = Xml::expandAttributes( array( 'title' => $wgUser->getSkin()->titleAttrib( 'undo' ) ) ); if ( $editable && !$this->mOldRev->isDeleted( Revision::DELETED_TEXT ) && !$this->mNewRev->isDeleted( Revision::DELETED_TEXT ) ) { $this->mNewtitle .= " (" . $htmlLink . ")"; }