9 * @deprecated since 1.28, use LinkRenderer::getLinkClasses() instead
11 public function getLinkColour( $t, $threshold ) {
12 wfDeprecated( __METHOD__
, '1.28' );
13 return Linker
::getLinkColour( $t, $threshold );
32 public function linkKnown(
37 $options = [ 'known' ]
39 return Linker
::linkKnown(
48 public function makeSelfLinkObj(
55 return Linker
::makeSelfLinkObj(
64 public function getInvalidTitleDescription(
65 IContextSource
$context,
69 return Linker
::getInvalidTitleDescription(
76 public function normaliseSpecialPage( Title
$title ) {
77 return Linker
::normaliseSpecialPage( $title );
80 public function makeExternalImage( $url, $alt = '' ) {
81 return Linker
::makeExternalImage( $url, $alt );
84 public function makeImageLink(
94 return Linker
::makeImageLink(
106 public function makeThumbLinkObj(
116 return Linker
::makeThumbLinkObj(
128 public function makeThumbLink2(
136 return Linker
::makeThumbLink2(
146 public function processResponsiveImages( $file, $thumb, $hp ) {
147 Linker
::processResponsiveImages(
154 public function makeBrokenImageLinkObj(
162 return Linker
::makeBrokenImageLinkObj(
172 public function makeMediaLinkObj( $title, $html = '', $time = false ) {
173 return Linker
::makeMediaLinkObj(
180 public function makeMediaLinkFile( Title
$title, $file, $html = '' ) {
181 return Linker
::makeMediaLinkFile(
188 public function specialLink( $name, $key = '' ) {
189 return Linker
::specialLink( $name, $key );
192 public function makeExternalLink(
200 return Linker
::makeExternalLink(
210 public function userLink( $userId, $userName, $altUserName = false ) {
211 return Linker
::userLink(
218 public function userToolLinks(
221 $redContribsWhenNoEdits = false,
225 return Linker
::userToolLinks(
228 $redContribsWhenNoEdits,
234 public function userToolLinksRedContribs( $userId, $userText, $edits = null ) {
235 return Linker
::userToolLinksRedContribs(
242 public function userTalkLink( $userId, $userText ) {
243 return Linker
::userTalkLink( $userId, $userText );
246 public function blockLink( $userId, $userText ) {
247 return Linker
::blockLink( $userId, $userText );
250 public function emailLink( $userId, $userText ) {
251 return Linker
::emailLink( $userId, $userText );
254 public function revUserLink( $rev, $isPublic = false ) {
255 return Linker
::revUserLink( $rev, $isPublic );
258 public function revUserTools( $rev, $isPublic = false ) {
259 return Linker
::revUserTools( $rev, $isPublic );
262 public function formatComment(
268 return Linker
::formatComment(
276 public function formatLinksInComment(
282 return Linker
::formatLinksInComment(
290 public function makeCommentLink(
296 return Linker
::makeCommentLink(
304 public function normalizeSubpageLink( $contextTitle, $target, &$text ) {
305 return Linker
::normalizeSubpageLink(
312 public function commentBlock(
318 return Linker
::commentBlock(
326 public function revComment( Revision
$rev, $local = false, $isPublic = false ) {
327 return Linker
::revComment( $rev, $local, $isPublic );
330 public function formatRevisionSize( $size ) {
331 return Linker
::formatRevisionSize( $size );
334 public function tocIndent() {
335 return Linker
::tocIndent();
338 public function tocUnindent( $level ) {
339 return Linker
::tocUnindent( $level );
342 public function tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex = false ) {
343 return Linker
::tocLine(
352 public function tocLineEnd() {
353 return Linker
::tocLineEnd();
356 public function tocList( $toc, $lang = false ) {
357 return Linker
::tocList( $toc, $lang );
360 public function generateTOC( $tree, $lang = false ) {
361 return Linker
::generateTOC( $tree, $lang );
364 public function makeHeadline(
370 $legacyAnchor = false
372 return Linker
::makeHeadline(
382 public function splitTrail( $trail ) {
383 return Linker
::splitTrail( $trail );
386 public function generateRollback(
388 IContextSource
$context = null,
389 $options = [ 'verify' ]
391 return Linker
::generateRollback(
398 public function getRollbackEditCount( $rev, $verify ) {
399 return Linker
::getRollbackEditCount( $rev, $verify );
402 public function buildRollbackLink(
404 IContextSource
$context = null,
407 return Linker
::buildRollbackLink(
415 * @deprecated since 1.28, use TemplatesOnThisPageFormatter directly
417 public function formatTemplates(
423 wfDeprecated( __METHOD__
, '1.28' );
425 return Linker
::formatTemplates(
433 public function formatHiddenCategories( $hiddencats ) {
434 return Linker
::formatHiddenCategories( $hiddencats );
438 * @deprecated since 1.28, use Language::formatSize() directly
440 public function formatSize( $size ) {
441 wfDeprecated( __METHOD__
, '1.28' );
443 return Linker
::formatSize( $size );
446 public function titleAttrib( $name, $options = null, array $msgParams = [] ) {
447 return Linker
::titleAttrib(
454 public function accesskey( $name ) {
455 return Linker
::accesskey( $name );
458 public function getRevDeleteLink( User
$user, Revision
$rev, Title
$title ) {
459 return Linker
::getRevDeleteLink(
466 public function revDeleteLink( $query = [], $restricted = false, $delete = true ) {
467 return Linker
::revDeleteLink(
474 public function revDeleteLinkDisabled( $delete = true ) {
475 return Linker
::revDeleteLinkDisabled( $delete );
478 public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) {
479 return Linker
::tooltipAndAccesskeyAttribs(
485 public function tooltip( $name, $options = null ) {
486 return Linker
::tooltip( $name, $options );