*/
class DummyLinker {
- /**
- * @deprecated since 1.28, use LinkRenderer::getLinkClasses() instead
- */
- public function getLinkColour( $t, $threshold ) {
- wfDeprecated( __METHOD__, '1.28' );
- return Linker::getLinkColour( $t, $threshold );
- }
-
public function link(
$target,
$html = null,
Title $title,
$file,
$label = '',
- $alt,
+ $alt = '',
$align = 'right',
$params = [],
$framed = false,
return Linker::tocLineEnd();
}
- public function tocList( $toc, $lang = false ) {
+ public function tocList( $toc, $lang = null ) {
return Linker::tocList( $toc, $lang );
}
- public function generateTOC( $tree, $lang = false ) {
+ public function generateTOC( $tree, $lang = null ) {
return Linker::generateTOC( $tree, $lang );
}