Update a few deprecated method calls
[lhc/web/wiklou.git] / includes / diff / DifferenceInterface.php
index 9392a4e..d85dcfc 100644 (file)
@@ -1010,7 +1010,7 @@ CONTROL;
                                'undo' => $this->mNewid
                        ) );
                        $htmlLink = htmlspecialchars( wfMsg( 'editundo' ) );
-                       $htmlTitle = $wgUser->getSkin()->tooltip( 'undo' );
+                       $htmlTitle = $wgUser->getSkin()->titleAttrib( 'undo' );
                        if( $editable && !$this->mOldRev->isDeleted( Revision::DELETED_TEXT ) && !$this->mNewRev->isDeleted( Revision::DELETED_TEXT ) ) {
                                $this->mNewtitle .= " (<a href='$newUndo' $htmlTitle>" . $htmlLink . "</a>)";
                        }