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