* API convenience.
*/
function loadRevisionData() {
- global $wgLang;
+ global $wgLang, $wgUser;
if ( $this->mRevisionsLoaded ) {
return true;
} else {
// Add an "undo" link
$newUndo = $this->mNewPage->escapeLocalUrl( 'action=edit&undoafter=' . $this->mOldid . '&undo=' . $this->mNewid);
$htmlLink = htmlspecialchars( wfMsg( 'editundo' ) );
- $htmlTitle = linker::tooltip( 'undo' );
+ $htmlTitle = $wgUser->getSkin()->tooltip( 'undo' );
if( $editable && !$this->mOldRev->isDeleted( Revision::DELETED_TEXT ) && !$this->mNewRev->isDeleted( Revision::DELETED_TEXT ) ) {
$this->mNewtitle .= " (<a href='$newUndo' $htmlTitle>" . $htmlLink . "</a>)";
}