From: Sam Reed Date: Fri, 6 May 2011 23:07:20 +0000 (+0000) Subject: Remove addExtraSQL X-Git-Tag: 1.31.0-rc.0~30360 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=bc829f4372b93134957144228e7e0be5cdfbb21c;p=lhc%2Fweb%2Fwiklou.git Remove addExtraSQL --- diff --git a/includes/Linker.php b/includes/Linker.php index f872d1e9b3..d84a752cf3 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1975,7 +1975,7 @@ class Linker { return ''; } return Xml::expandAttributes( array( - 'title' => self::titleAttrib( $name, $options ) + 'title' => $tooltip ) ); } } diff --git a/includes/specials/SpecialRandompage.php b/includes/specials/SpecialRandompage.php index bf13ebed80..f0d07c9d52 100644 --- a/includes/specials/SpecialRandompage.php +++ b/includes/specials/SpecialRandompage.php @@ -132,9 +132,6 @@ class RandomPage extends SpecialPage { if ( $wgExtraRandompageSQL ) { $this->extra[] = $wgExtraRandompageSQL; } - if ( $this->addExtraSQL() ) { - $this->extra[] = $this->addExtraSQL(); - } return array( 'tables' => array( 'page' ), @@ -168,12 +165,4 @@ class RandomPage extends SpecialPage { return $dbr->fetchObject( $res ); } - - /** an alternative to $wgExtraRandompageSQL so subclasses - * can add their own SQL by overriding this function - * @deprecated since 1.16 append to $this->extra instead - */ - public function addExtraSQL() { - return ''; - } }