From: Sam Reed Date: Sun, 31 Oct 2010 23:46:35 +0000 (+0000) Subject: Update a few deprecated method calls X-Git-Tag: 1.31.0-rc.0~34169 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=3cfa08995d2324c4b1b35d29e740c2110dad2fda;p=lhc%2Fweb%2Fwiklou.git Update a few deprecated method calls --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 0c9be60501..386dc807fc 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2283,7 +2283,7 @@ HTML ); $checkboxes['minor'] = Xml::check( 'wpMinoredit', $checked['minor'], $attribs ) . - " "; + " "; } $watchLabel = wfMsgExt( 'watchthis', array( 'parseinline' ) ); @@ -2296,7 +2296,7 @@ HTML ); $checkboxes['watch'] = Xml::check( 'wpWatchthis', $checked['watch'], $attribs ) . - " "; + " "; } wfRunHooks( 'EditPageBeforeEditChecks', array( &$this, &$checkboxes, &$tabindex ) ); return $checkboxes; diff --git a/includes/Linker.php b/includes/Linker.php index acedce275c..d0e288f3b2 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -2068,7 +2068,6 @@ class Linker { return Xml::expandAttributes( $this->tooltipAndAccesskeyAttribs( $name ) ); } - /** @deprecated Returns raw bits of HTML, use titleAttrib() */ public function tooltip( $name, $options = null ) { global $wgEnableTooltipsAndAccesskeys; diff --git a/includes/diff/DifferenceInterface.php b/includes/diff/DifferenceInterface.php index 9392a4ea1e..d85dcfcf44 100644 --- a/includes/diff/DifferenceInterface.php +++ b/includes/diff/DifferenceInterface.php @@ -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 .= " (" . $htmlLink . ")"; }