Index: trunk/phase3/includes/diff/DifferenceInterface.php |
— | — | @@ -1010,7 +1010,7 @@ |
1011 | 1011 | 'undo' => $this->mNewid |
1012 | 1012 | ) ); |
1013 | 1013 | $htmlLink = htmlspecialchars( wfMsg( 'editundo' ) ); |
1014 | | - $htmlTitle = $wgUser->getSkin()->tooltip( 'undo' ); |
| 1014 | + $htmlTitle = $wgUser->getSkin()->titleAttrib( 'undo' ); |
1015 | 1015 | if( $editable && !$this->mOldRev->isDeleted( Revision::DELETED_TEXT ) && !$this->mNewRev->isDeleted( Revision::DELETED_TEXT ) ) { |
1016 | 1016 | $this->mNewtitle .= " (<a href='$newUndo' $htmlTitle>" . $htmlLink . "</a>)"; |
1017 | 1017 | } |
Index: trunk/phase3/includes/Linker.php |
— | — | @@ -2068,7 +2068,6 @@ |
2069 | 2069 | return Xml::expandAttributes( $this->tooltipAndAccesskeyAttribs( $name ) ); |
2070 | 2070 | } |
2071 | 2071 | |
2072 | | - |
2073 | 2072 | /** @deprecated Returns raw bits of HTML, use titleAttrib() */ |
2074 | 2073 | public function tooltip( $name, $options = null ) { |
2075 | 2074 | global $wgEnableTooltipsAndAccesskeys; |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -2283,7 +2283,7 @@ |
2284 | 2284 | ); |
2285 | 2285 | $checkboxes['minor'] = |
2286 | 2286 | Xml::check( 'wpMinoredit', $checked['minor'], $attribs ) . |
2287 | | - " <label for='wpMinoredit' id='mw-editpage-minoredit'" . $skin->tooltip( 'minoredit', 'withaccess' ) . ">{$minorLabel}</label>"; |
| 2287 | + " <label for='wpMinoredit' id='mw-editpage-minoredit'" . $skin->titleAttrib( 'minoredit', 'withaccess' ) . ">{$minorLabel}</label>"; |
2288 | 2288 | } |
2289 | 2289 | |
2290 | 2290 | $watchLabel = wfMsgExt( 'watchthis', array( 'parseinline' ) ); |
— | — | @@ -2296,7 +2296,7 @@ |
2297 | 2297 | ); |
2298 | 2298 | $checkboxes['watch'] = |
2299 | 2299 | Xml::check( 'wpWatchthis', $checked['watch'], $attribs ) . |
2300 | | - " <label for='wpWatchthis' id='mw-editpage-watch'" . $skin->tooltip( 'watch', 'withaccess' ) . ">{$watchLabel}</label>"; |
| 2300 | + " <label for='wpWatchthis' id='mw-editpage-watch'" . $skin->titleAttrib( 'watch', 'withaccess' ) . ">{$watchLabel}</label>"; |
2301 | 2301 | } |
2302 | 2302 | wfRunHooks( 'EditPageBeforeEditChecks', array( &$this, &$checkboxes, &$tabindex ) ); |
2303 | 2303 | return $checkboxes; |