From 683dcdc83aad5154affd443ae73270efa874764d Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 12 Dec 2010 20:45:32 +0000 Subject: [PATCH] Fix fatal error from r78264 --- includes/diff/DifferenceEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . ")"; } -- 2.20.1