Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1975,7 +1975,7 @@ |
1976 | 1976 | return ''; |
1977 | 1977 | } |
1978 | 1978 | return Xml::expandAttributes( array( |
1979 | | - 'title' => self::titleAttrib( $name, $options ) |
| 1979 | + 'title' => $tooltip |
1980 | 1980 | ) ); |
1981 | 1981 | } |
1982 | 1982 | } |
Index: trunk/phase3/includes/specials/SpecialRandompage.php |
— | — | @@ -132,9 +132,6 @@ |
133 | 133 | if ( $wgExtraRandompageSQL ) { |
134 | 134 | $this->extra[] = $wgExtraRandompageSQL; |
135 | 135 | } |
136 | | - if ( $this->addExtraSQL() ) { |
137 | | - $this->extra[] = $this->addExtraSQL(); |
138 | | - } |
139 | 136 | |
140 | 137 | return array( |
141 | 138 | 'tables' => array( 'page' ), |
— | — | @@ -168,12 +165,4 @@ |
169 | 166 | |
170 | 167 | return $dbr->fetchObject( $res ); |
171 | 168 | } |
172 | | - |
173 | | - /** an alternative to $wgExtraRandompageSQL so subclasses |
174 | | - * can add their own SQL by overriding this function |
175 | | - * @deprecated since 1.16 append to $this->extra instead |
176 | | - */ |
177 | | - public function addExtraSQL() { |
178 | | - return ''; |
179 | | - } |
180 | 169 | } |