MediaWiki  1.30.0
DummyLinker Class Reference

Public Member Functions

 accesskey ( $name)
 
 blockLink ( $userId, $userText)
 
 buildRollbackLink ( $rev, IContextSource $context=null, $editCount=false)
 
 commentBlock ( $comment, $title=null, $local=false, $wikiId=null)
 
 emailLink ( $userId, $userText)
 
 formatComment ( $comment, $title=null, $local=false, $wikiId=null)
 
 formatHiddenCategories ( $hiddencats)
 
 formatLinksInComment ( $comment, $title=null, $local=false, $wikiId=null)
 
 formatRevisionSize ( $size)
 
 formatSize ( $size)
 
 formatTemplates ( $templates, $preview=false, $section=false, $more=null)
 
 generateRollback ( $rev, IContextSource $context=null, $options=[ 'verify'])
 
 generateTOC ( $tree, $lang=false)
 
 getInvalidTitleDescription (IContextSource $context, $namespace, $title)
 
 getLinkColour ( $t, $threshold)
 
 getRevDeleteLink (User $user, Revision $rev, Title $title)
 
 getRollbackEditCount ( $rev, $verify)
 
 link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
 
 linkKnown ( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
 
 makeBrokenImageLinkObj ( $title, $label='', $query='', $unused1='', $unused2='', $time=false)
 
 makeCommentLink (Title $title, $text, $wikiId=null, $options=[])
 
 makeExternalImage ( $url, $alt='')
 
 makeExternalLink ( $url, $text, $escape=true, $linktype='', $attribs=[], $title=null)
 
 makeHeadline ( $level, $attribs, $anchor, $html, $link, $legacyAnchor=false)
 
 makeImageLink (Parser $parser, Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="", $widthOption=null)
 
 makeMediaLinkFile (Title $title, $file, $html='')
 
 makeMediaLinkObj ( $title, $html='', $time=false)
 
 makeSelfLinkObj ( $nt, $html='', $query='', $trail='', $prefix='')
 
 makeThumbLink2 (Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
 
 makeThumbLinkObj (Title $title, $file, $label='', $alt, $align='right', $params=[], $framed=false, $manualthumb="")
 
 normaliseSpecialPage (Title $title)
 
 normalizeSubpageLink ( $contextTitle, $target, &$text)
 
 processResponsiveImages ( $file, $thumb, $hp)
 
 revComment (Revision $rev, $local=false, $isPublic=false)
 
 revDeleteLink ( $query=[], $restricted=false, $delete=true)
 
 revDeleteLinkDisabled ( $delete=true)
 
 revUserLink ( $rev, $isPublic=false)
 
 revUserTools ( $rev, $isPublic=false)
 
 specialLink ( $name, $key='')
 
 splitTrail ( $trail)
 
 titleAttrib ( $name, $options=null, array $msgParams=[])
 
 tocIndent ()
 
 tocLine ( $anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
 
 tocLineEnd ()
 
 tocList ( $toc, $lang=false)
 
 tocUnindent ( $level)
 
 tooltip ( $name, $options=null)
 
 tooltipAndAccesskeyAttribs ( $name, array $msgParams=[])
 
 userLink ( $userId, $userName, $altUserName=false)
 
 userTalkLink ( $userId, $userText)
 
 userToolLinks ( $userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
 
 userToolLinksRedContribs ( $userId, $userText, $edits=null)
 

Detailed Description

Since
1.18

Definition at line 6 of file DummyLinker.php.

Member Function Documentation

◆ accesskey()

DummyLinker::accesskey (   $name)

Definition at line 454 of file DummyLinker.php.

References $name, and Linker\accesskey().

◆ blockLink()

DummyLinker::blockLink (   $userId,
  $userText 
)

Definition at line 246 of file DummyLinker.php.

References Linker\blockLink().

◆ buildRollbackLink()

DummyLinker::buildRollbackLink (   $rev,
IContextSource  $context = null,
  $editCount = false 
)

Definition at line 402 of file DummyLinker.php.

References $context, $rev, and Linker\buildRollbackLink().

◆ commentBlock()

DummyLinker::commentBlock (   $comment,
  $title = null,
  $local = false,
  $wikiId = null 
)

Definition at line 312 of file DummyLinker.php.

References $title, and Linker\commentBlock().

◆ emailLink()

DummyLinker::emailLink (   $userId,
  $userText 
)

Definition at line 250 of file DummyLinker.php.

References Linker\emailLink().

◆ formatComment()

DummyLinker::formatComment (   $comment,
  $title = null,
  $local = false,
  $wikiId = null 
)

Definition at line 262 of file DummyLinker.php.

References $title, and Linker\formatComment().

◆ formatHiddenCategories()

DummyLinker::formatHiddenCategories (   $hiddencats)

Definition at line 433 of file DummyLinker.php.

References Linker\formatHiddenCategories().

◆ formatLinksInComment()

DummyLinker::formatLinksInComment (   $comment,
  $title = null,
  $local = false,
  $wikiId = null 
)

Definition at line 276 of file DummyLinker.php.

References $title, and Linker\formatLinksInComment().

◆ formatRevisionSize()

DummyLinker::formatRevisionSize (   $size)

Definition at line 330 of file DummyLinker.php.

References Linker\formatRevisionSize().

◆ formatSize()

DummyLinker::formatSize (   $size)
Deprecated:
since 1.28, use Language::formatSize() directly

Definition at line 440 of file DummyLinker.php.

References Linker\formatSize(), and wfDeprecated().

◆ formatTemplates()

DummyLinker::formatTemplates (   $templates,
  $preview = false,
  $section = false,
  $more = null 
)
Deprecated:
since 1.28, use TemplatesOnThisPageFormatter directly

Definition at line 417 of file DummyLinker.php.

References $section, Linker\formatTemplates(), and wfDeprecated().

◆ generateRollback()

DummyLinker::generateRollback (   $rev,
IContextSource  $context = null,
  $options = [ 'verify' ] 
)

Definition at line 386 of file DummyLinker.php.

References $context, $options, $rev, and Linker\generateRollback().

◆ generateTOC()

DummyLinker::generateTOC (   $tree,
  $lang = false 
)

Definition at line 360 of file DummyLinker.php.

References $lang, and Linker\generateTOC().

◆ getInvalidTitleDescription()

DummyLinker::getInvalidTitleDescription ( IContextSource  $context,
  $namespace,
  $title 
)

Definition at line 64 of file DummyLinker.php.

References $context, $title, and Linker\getInvalidTitleDescription().

◆ getLinkColour()

DummyLinker::getLinkColour (   $t,
  $threshold 
)
Deprecated:
since 1.28, use LinkRenderer::getLinkClasses() instead

Definition at line 11 of file DummyLinker.php.

References $t, Linker\getLinkColour(), and wfDeprecated().

◆ getRevDeleteLink()

DummyLinker::getRevDeleteLink ( User  $user,
Revision  $rev,
Title  $title 
)

Definition at line 458 of file DummyLinker.php.

References $rev, $title, $user, and Linker\getRevDeleteLink().

◆ getRollbackEditCount()

DummyLinker::getRollbackEditCount (   $rev,
  $verify 
)

Definition at line 398 of file DummyLinker.php.

References $rev, and Linker\getRollbackEditCount().

◆ link()

DummyLinker::link (   $target,
  $html = null,
  $customAttribs = [],
  $query = [],
  $options = [] 
)

Definition at line 16 of file DummyLinker.php.

References $customAttribs, $html, $options, $query, and Linker\link().

◆ linkKnown()

DummyLinker::linkKnown (   $target,
  $html = null,
  $customAttribs = [],
  $query = [],
  $options = [ 'known' ] 
)

Definition at line 32 of file DummyLinker.php.

References $customAttribs, $html, $options, $query, and Linker\linkKnown().

◆ makeBrokenImageLinkObj()

DummyLinker::makeBrokenImageLinkObj (   $title,
  $label = '',
  $query = '',
  $unused1 = '',
  $unused2 = '',
  $time = false 
)

Definition at line 154 of file DummyLinker.php.

References $query, $time, $title, and Linker\makeBrokenImageLinkObj().

◆ makeCommentLink()

DummyLinker::makeCommentLink ( Title  $title,
  $text,
  $wikiId = null,
  $options = [] 
)

Definition at line 290 of file DummyLinker.php.

References $options, $title, and Linker\makeCommentLink().

◆ makeExternalImage()

DummyLinker::makeExternalImage (   $url,
  $alt = '' 
)

Definition at line 80 of file DummyLinker.php.

References Linker\makeExternalImage().

◆ makeExternalLink()

DummyLinker::makeExternalLink (   $url,
  $text,
  $escape = true,
  $linktype = '',
  $attribs = [],
  $title = null 
)

Definition at line 192 of file DummyLinker.php.

References $attribs, $title, and Linker\makeExternalLink().

◆ makeHeadline()

DummyLinker::makeHeadline (   $level,
  $attribs,
  $anchor,
  $html,
  $link,
  $legacyAnchor = false 
)

Definition at line 364 of file DummyLinker.php.

References $attribs, $html, $link, and Linker\makeHeadline().

◆ makeImageLink()

DummyLinker::makeImageLink ( Parser  $parser,
Title  $title,
  $file,
  $frameParams = [],
  $handlerParams = [],
  $time = false,
  $query = "",
  $widthOption = null 
)

Definition at line 84 of file DummyLinker.php.

References $handlerParams, $parser, $query, $time, $title, and Linker\makeImageLink().

◆ makeMediaLinkFile()

DummyLinker::makeMediaLinkFile ( Title  $title,
  $file,
  $html = '' 
)

Definition at line 180 of file DummyLinker.php.

References $html, $title, and Linker\makeMediaLinkFile().

◆ makeMediaLinkObj()

DummyLinker::makeMediaLinkObj (   $title,
  $html = '',
  $time = false 
)

Definition at line 172 of file DummyLinker.php.

References $html, $time, $title, and Linker\makeMediaLinkObj().

◆ makeSelfLinkObj()

DummyLinker::makeSelfLinkObj (   $nt,
  $html = '',
  $query = '',
  $trail = '',
  $prefix = '' 
)

Definition at line 48 of file DummyLinker.php.

References $html, $query, and Linker\makeSelfLinkObj().

◆ makeThumbLink2()

DummyLinker::makeThumbLink2 ( Title  $title,
  $file,
  $frameParams = [],
  $handlerParams = [],
  $time = false,
  $query = "" 
)

Definition at line 128 of file DummyLinker.php.

References $handlerParams, $query, $time, $title, and Linker\makeThumbLink2().

◆ makeThumbLinkObj()

DummyLinker::makeThumbLinkObj ( Title  $title,
  $file,
  $label = '',
  $alt,
  $align = 'right',
  $params = [],
  $framed = false,
  $manualthumb = "" 
)

Definition at line 106 of file DummyLinker.php.

References $params, $title, and Linker\makeThumbLinkObj().

◆ normaliseSpecialPage()

DummyLinker::normaliseSpecialPage ( Title  $title)

Definition at line 76 of file DummyLinker.php.

References $title, and Linker\normaliseSpecialPage().

◆ normalizeSubpageLink()

DummyLinker::normalizeSubpageLink (   $contextTitle,
  $target,
$text 
)

Definition at line 304 of file DummyLinker.php.

References Linker\normalizeSubpageLink().

◆ processResponsiveImages()

DummyLinker::processResponsiveImages (   $file,
  $thumb,
  $hp 
)

Definition at line 146 of file DummyLinker.php.

References Linker\processResponsiveImages().

◆ revComment()

DummyLinker::revComment ( Revision  $rev,
  $local = false,
  $isPublic = false 
)

Definition at line 326 of file DummyLinker.php.

References $rev, and Linker\revComment().

◆ revDeleteLink()

DummyLinker::revDeleteLink (   $query = [],
  $restricted = false,
  $delete = true 
)

Definition at line 466 of file DummyLinker.php.

References $query, and Linker\revDeleteLink().

◆ revDeleteLinkDisabled()

DummyLinker::revDeleteLinkDisabled (   $delete = true)

Definition at line 474 of file DummyLinker.php.

References Linker\revDeleteLinkDisabled().

◆ revUserLink()

DummyLinker::revUserLink (   $rev,
  $isPublic = false 
)

Definition at line 254 of file DummyLinker.php.

References $rev, and Linker\revUserLink().

◆ revUserTools()

DummyLinker::revUserTools (   $rev,
  $isPublic = false 
)

Definition at line 258 of file DummyLinker.php.

References $rev, and Linker\revUserTools().

◆ specialLink()

DummyLinker::specialLink (   $name,
  $key = '' 
)

Definition at line 188 of file DummyLinker.php.

References $name, and Linker\specialLink().

◆ splitTrail()

DummyLinker::splitTrail (   $trail)

Definition at line 382 of file DummyLinker.php.

References Linker\splitTrail().

◆ titleAttrib()

DummyLinker::titleAttrib (   $name,
  $options = null,
array  $msgParams = [] 
)

Definition at line 446 of file DummyLinker.php.

References $name, $options, and Linker\titleAttrib().

◆ tocIndent()

DummyLinker::tocIndent ( )

Definition at line 334 of file DummyLinker.php.

References Linker\tocIndent().

◆ tocLine()

DummyLinker::tocLine (   $anchor,
  $tocline,
  $tocnumber,
  $level,
  $sectionIndex = false 
)

Definition at line 342 of file DummyLinker.php.

References Linker\tocLine().

◆ tocLineEnd()

DummyLinker::tocLineEnd ( )

Definition at line 352 of file DummyLinker.php.

References Linker\tocLineEnd().

◆ tocList()

DummyLinker::tocList (   $toc,
  $lang = false 
)

Definition at line 356 of file DummyLinker.php.

References $lang, and Linker\tocList().

◆ tocUnindent()

DummyLinker::tocUnindent (   $level)

Definition at line 338 of file DummyLinker.php.

References Linker\tocUnindent().

◆ tooltip()

DummyLinker::tooltip (   $name,
  $options = null 
)

Definition at line 485 of file DummyLinker.php.

References $name, $options, and Linker\tooltip().

◆ tooltipAndAccesskeyAttribs()

DummyLinker::tooltipAndAccesskeyAttribs (   $name,
array  $msgParams = [] 
)

Definition at line 478 of file DummyLinker.php.

References $name, and Linker\tooltipAndAccesskeyAttribs().

◆ userLink()

DummyLinker::userLink (   $userId,
  $userName,
  $altUserName = false 
)

Definition at line 210 of file DummyLinker.php.

References Linker\userLink().

◆ userTalkLink()

DummyLinker::userTalkLink (   $userId,
  $userText 
)

Definition at line 242 of file DummyLinker.php.

References Linker\userTalkLink().

◆ userToolLinks()

DummyLinker::userToolLinks (   $userId,
  $userText,
  $redContribsWhenNoEdits = false,
  $flags = 0,
  $edits = null 
)

Definition at line 218 of file DummyLinker.php.

References $flags, and Linker\userToolLinks().

◆ userToolLinksRedContribs()

DummyLinker::userToolLinksRedContribs (   $userId,
  $userText,
  $edits = null 
)

Definition at line 234 of file DummyLinker.php.

References Linker\userToolLinksRedContribs().


The documentation for this class was generated from the following file: