9 * @deprecated since 1.27
11 public function getInterwikiLinkAttributes( $title, $unused = null, $class = 'external' ) {
12 wfDeprecated( __METHOD__
, '1.27' );
13 return Linker
::getInterwikiLinkAttributes(
21 * @deprecated since 1.27
23 public function getInternalLinkAttributes( $title, $unused = null, $class = '' ) {
24 wfDeprecated( __METHOD__
, '1.27' );
25 return Linker
::getInternalLinkAttributes(
33 * @deprecated since 1.27
35 public function getInternalLinkAttributesObj(
41 wfDeprecated( __METHOD__
, '1.27' );
42 return Linker
::getInternalLinkAttributesObj(
51 * @deprecated since 1.28, use LinkRenderer::getLinkClasses() instead
53 public function getLinkColour( $t, $threshold ) {
54 wfDeprecated( __METHOD__
, '1.28' );
55 return Linker
::getLinkColour( $t, $threshold );
74 public function linkKnown(
79 $options = [ 'known' ]
81 return Linker
::linkKnown(
90 public function makeSelfLinkObj(
97 return Linker
::makeSelfLinkObj(
106 public function getInvalidTitleDescription(
107 IContextSource
$context,
111 return Linker
::getInvalidTitleDescription(
118 public function normaliseSpecialPage( Title
$title ) {
119 return Linker
::normaliseSpecialPage( $title );
122 public function makeExternalImage( $url, $alt = '' ) {
123 return Linker
::makeExternalImage( $url, $alt );
126 public function makeImageLink(
136 return Linker
::makeImageLink(
148 public function makeThumbLinkObj(
158 return Linker
::makeThumbLinkObj(
170 public function makeThumbLink2(
178 return Linker
::makeThumbLink2(
188 public function processResponsiveImages( $file, $thumb, $hp ) {
189 Linker
::processResponsiveImages(
196 public function makeBrokenImageLinkObj(
204 return Linker
::makeBrokenImageLinkObj(
214 public function makeMediaLinkObj( $title, $html = '', $time = false ) {
215 return Linker
::makeMediaLinkObj(
222 public function makeMediaLinkFile( Title
$title, $file, $html = '' ) {
223 return Linker
::makeMediaLinkFile(
230 public function specialLink( $name, $key = '' ) {
231 return Linker
::specialLink( $name, $key );
234 public function makeExternalLink(
242 return Linker
::makeExternalLink(
252 public function userLink( $userId, $userName, $altUserName = false ) {
253 return Linker
::userLink(
260 public function userToolLinks(
263 $redContribsWhenNoEdits = false,
267 return Linker
::userToolLinks(
270 $redContribsWhenNoEdits,
276 public function userToolLinksRedContribs( $userId, $userText, $edits = null ) {
277 return Linker
::userToolLinksRedContribs(
284 public function userTalkLink( $userId, $userText ) {
285 return Linker
::userTalkLink( $userId, $userText );
288 public function blockLink( $userId, $userText ) {
289 return Linker
::blockLink( $userId, $userText );
292 public function emailLink( $userId, $userText ) {
293 return Linker
::emailLink( $userId, $userText );
296 public function revUserLink( $rev, $isPublic = false ) {
297 return Linker
::revUserLink( $rev, $isPublic );
300 public function revUserTools( $rev, $isPublic = false ) {
301 return Linker
::revUserTools( $rev, $isPublic );
304 public function formatComment(
310 return Linker
::formatComment(
318 public function formatLinksInComment(
324 return Linker
::formatLinksInComment(
332 public function makeCommentLink(
338 return Linker
::makeCommentLink(
346 public function normalizeSubpageLink( $contextTitle, $target, &$text ) {
347 return Linker
::normalizeSubpageLink(
354 public function commentBlock(
360 return Linker
::commentBlock(
368 public function revComment( Revision
$rev, $local = false, $isPublic = false ) {
369 return Linker
::revComment( $rev, $local, $isPublic );
372 public function formatRevisionSize( $size ) {
373 return Linker
::formatRevisionSize( $size );
376 public function tocIndent() {
377 return Linker
::tocIndent();
380 public function tocUnindent( $level ) {
381 return Linker
::tocUnindent( $level );
384 public function tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex = false ) {
385 return Linker
::tocLine(
394 public function tocLineEnd() {
395 return Linker
::tocLineEnd();
398 public function tocList( $toc, $lang = false ) {
399 return Linker
::tocList( $toc, $lang );
402 public function generateTOC( $tree, $lang = false ) {
403 return Linker
::generateTOC( $tree, $lang );
406 public function makeHeadline(
412 $legacyAnchor = false
414 return Linker
::makeHeadline(
424 public function splitTrail( $trail ) {
425 return Linker
::splitTrail( $trail );
428 public function generateRollback(
430 IContextSource
$context = null,
431 $options = [ 'verify' ]
433 return Linker
::generateRollback(
440 public function getRollbackEditCount( $rev, $verify ) {
441 return Linker
::getRollbackEditCount( $rev, $verify );
444 public function buildRollbackLink(
446 IContextSource
$context = null,
449 return Linker
::buildRollbackLink(
457 * @deprecated since 1.28, use TemplatesOnThisPageFormatter directly
459 public function formatTemplates(
465 wfDeprecated( __METHOD__
, '1.28' );
467 return Linker
::formatTemplates(
475 public function formatHiddenCategories( $hiddencats ) {
476 return Linker
::formatHiddenCategories( $hiddencats );
480 * @deprecated since 1.28, use Language::formatSize() directly
482 public function formatSize( $size ) {
483 wfDeprecated( __METHOD__
, '1.28' );
485 return Linker
::formatSize( $size );
488 public function titleAttrib( $name, $options = null, array $msgParams = [] ) {
489 return Linker
::titleAttrib(
496 public function accesskey( $name ) {
497 return Linker
::accesskey( $name );
500 public function getRevDeleteLink( User
$user, Revision
$rev, Title
$title ) {
501 return Linker
::getRevDeleteLink(
508 public function revDeleteLink( $query = [], $restricted = false, $delete = true ) {
509 return Linker
::revDeleteLink(
516 public function revDeleteLinkDisabled( $delete = true ) {
517 return Linker
::revDeleteLinkDisabled( $delete );
520 public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) {
521 return Linker
::tooltipAndAccesskeyAttribs(
527 public function tooltip( $name, $options = null ) {
528 return Linker
::tooltip( $name, $options );