MediaWiki  master
MediaWiki\Linker\DummyLinker Class Reference

Public Member Functions

 accesskey ( $name)
 
 blockLink ( $userId, $userText)
 
 buildRollbackLink (RevisionRecord $revRecord, 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)
 
 generateRollback (RevisionRecord $revRecord, IContextSource $context=null, $options=[])
 
 generateTOC ( $tree, Language $lang=null)
 
 getInvalidTitleDescription (IContextSource $context, $namespace, $title)
 
 getRevDeleteLink (User $user, RevisionRecord $revRecord, Title $title)
 
 getRollbackEditCount (RevisionRecord $revRecord, $verify)
 
 link ( $target, $html=null, $customAttribs=[], $query=[], $options=[])
 
 linkKnown ( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
 
 makeBrokenImageLinkObj ( $title, $label='', $query='', $unused1='', $unused2='', $time=false)
 
 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="")
 
 normalizeSubpageLink ( $contextTitle, $target, &$text)
 
 processResponsiveImages ( $file, $thumb, $hp)
 
 revComment (RevisionRecord $revRecord, $local=false, $isPublic=false)
 
 revDeleteLink ( $query=[], $restricted=false, $delete=true)
 
 revDeleteLinkDisabled ( $delete=true)
 
 revUserLink (RevisionRecord $revRecord, $isPublic=false)
 
 revUserTools (RevisionRecord $revRecord, $isPublic=false)
 
 specialLink ( $name, $key='')
 
 splitTrail ( $trail)
 
 titleAttrib ( $name, $options=null, array $msgParams=[])
 
 tocIndent ()
 
 tocLine ( $anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
 
 tocLineEnd ()
 
 tocList ( $toc, Language $lang=null)
 
 tocUnindent ( $level)
 
 tooltip ( $name, $options=null)
 
 tooltipAndAccesskeyAttribs ( $name, array $msgParams=[])
 
 userLink ( $userId, $userName, $altUserName=false, $attributes=[])
 
 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 15 of file DummyLinker.php.

Member Function Documentation

◆ accesskey()

MediaWiki\Linker\DummyLinker::accesskey (   $name)

Definition at line 410 of file DummyLinker.php.

References MediaWiki\Linker\Linker\accesskey().

◆ blockLink()

MediaWiki\Linker\DummyLinker::blockLink (   $userId,
  $userText 
)

Definition at line 244 of file DummyLinker.php.

References MediaWiki\Linker\Linker\blockLink().

◆ buildRollbackLink()

MediaWiki\Linker\DummyLinker::buildRollbackLink ( RevisionRecord  $revRecord,
IContextSource  $context = null,
  $editCount = false 
)

Definition at line 386 of file DummyLinker.php.

References MediaWiki\Linker\Linker\buildRollbackLink().

◆ commentBlock()

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

Definition at line 296 of file DummyLinker.php.

References $title, and MediaWiki\Linker\Linker\commentBlock().

◆ emailLink()

MediaWiki\Linker\DummyLinker::emailLink (   $userId,
  $userText 
)

Definition at line 248 of file DummyLinker.php.

References MediaWiki\Linker\Linker\emailLink().

◆ formatComment()

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

Definition at line 260 of file DummyLinker.php.

References $title, and MediaWiki\Linker\Linker\formatComment().

◆ formatHiddenCategories()

MediaWiki\Linker\DummyLinker::formatHiddenCategories (   $hiddencats)

Definition at line 398 of file DummyLinker.php.

References MediaWiki\Linker\Linker\formatHiddenCategories().

◆ formatLinksInComment()

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

Definition at line 274 of file DummyLinker.php.

References $title, and MediaWiki\Linker\Linker\formatLinksInComment().

◆ formatRevisionSize()

MediaWiki\Linker\DummyLinker::formatRevisionSize (   $size)

Definition at line 314 of file DummyLinker.php.

References MediaWiki\Linker\Linker\formatRevisionSize().

◆ generateRollback()

MediaWiki\Linker\DummyLinker::generateRollback ( RevisionRecord  $revRecord,
IContextSource  $context = null,
  $options = [] 
)

Definition at line 370 of file DummyLinker.php.

References MediaWiki\Linker\Linker\generateRollback().

◆ generateTOC()

MediaWiki\Linker\DummyLinker::generateTOC (   $tree,
Language  $lang = null 
)

Definition at line 344 of file DummyLinker.php.

References $lang, and MediaWiki\Linker\Linker\generateTOC().

◆ getInvalidTitleDescription()

MediaWiki\Linker\DummyLinker::getInvalidTitleDescription ( IContextSource  $context,
  $namespace,
  $title 
)

Definition at line 65 of file DummyLinker.php.

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

◆ getRevDeleteLink()

MediaWiki\Linker\DummyLinker::getRevDeleteLink ( User  $user,
RevisionRecord  $revRecord,
Title  $title 
)

Definition at line 414 of file DummyLinker.php.

References $title, and MediaWiki\Linker\Linker\getRevDeleteLink().

◆ getRollbackEditCount()

MediaWiki\Linker\DummyLinker::getRollbackEditCount ( RevisionRecord  $revRecord,
  $verify 
)

Definition at line 382 of file DummyLinker.php.

References MediaWiki\Linker\Linker\getRollbackEditCount().

◆ link()

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

Definition at line 17 of file DummyLinker.php.

References MediaWiki\Linker\Linker\link().

◆ linkKnown()

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

Definition at line 33 of file DummyLinker.php.

References MediaWiki\Linker\Linker\linkKnown().

◆ makeBrokenImageLinkObj()

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

Definition at line 151 of file DummyLinker.php.

References $title, and MediaWiki\Linker\Linker\makeBrokenImageLinkObj().

◆ makeExternalImage()

MediaWiki\Linker\DummyLinker::makeExternalImage (   $url,
  $alt = '' 
)

Definition at line 77 of file DummyLinker.php.

References MediaWiki\Linker\Linker\makeExternalImage().

◆ makeExternalLink()

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

Definition at line 189 of file DummyLinker.php.

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

◆ makeHeadline()

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

Definition at line 348 of file DummyLinker.php.

References MediaWiki\Linker\Linker\makeHeadline().

◆ makeImageLink()

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

Definition at line 81 of file DummyLinker.php.

References $file, $title, and MediaWiki\Linker\Linker\makeImageLink().

◆ makeMediaLinkFile()

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

Definition at line 177 of file DummyLinker.php.

References $file, $title, and MediaWiki\Linker\Linker\makeMediaLinkFile().

◆ makeMediaLinkObj()

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

Definition at line 169 of file DummyLinker.php.

References $title, and MediaWiki\Linker\Linker\makeMediaLinkObj().

◆ makeSelfLinkObj()

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

Definition at line 49 of file DummyLinker.php.

References MediaWiki\Linker\Linker\makeSelfLinkObj().

◆ makeThumbLink2()

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

Definition at line 125 of file DummyLinker.php.

References $file, $title, and MediaWiki\Linker\Linker\makeThumbLink2().

◆ makeThumbLinkObj()

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

Definition at line 103 of file DummyLinker.php.

References $file, $title, and MediaWiki\Linker\Linker\makeThumbLinkObj().

◆ normalizeSubpageLink()

MediaWiki\Linker\DummyLinker::normalizeSubpageLink (   $contextTitle,
  $target,
$text 
)

Definition at line 288 of file DummyLinker.php.

References MediaWiki\Linker\Linker\normalizeSubpageLink().

◆ processResponsiveImages()

MediaWiki\Linker\DummyLinker::processResponsiveImages (   $file,
  $thumb,
  $hp 
)

Definition at line 143 of file DummyLinker.php.

References $file, and MediaWiki\Linker\Linker\processResponsiveImages().

◆ revComment()

MediaWiki\Linker\DummyLinker::revComment ( RevisionRecord  $revRecord,
  $local = false,
  $isPublic = false 
)

Definition at line 310 of file DummyLinker.php.

References MediaWiki\Linker\Linker\revComment().

◆ revDeleteLink()

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

Definition at line 422 of file DummyLinker.php.

References MediaWiki\Linker\Linker\revDeleteLink().

◆ revDeleteLinkDisabled()

MediaWiki\Linker\DummyLinker::revDeleteLinkDisabled (   $delete = true)

Definition at line 430 of file DummyLinker.php.

References MediaWiki\Linker\Linker\revDeleteLinkDisabled().

◆ revUserLink()

MediaWiki\Linker\DummyLinker::revUserLink ( RevisionRecord  $revRecord,
  $isPublic = false 
)

Definition at line 252 of file DummyLinker.php.

References MediaWiki\Linker\Linker\revUserLink().

◆ revUserTools()

MediaWiki\Linker\DummyLinker::revUserTools ( RevisionRecord  $revRecord,
  $isPublic = false 
)

Definition at line 256 of file DummyLinker.php.

References MediaWiki\Linker\Linker\revUserTools().

◆ specialLink()

MediaWiki\Linker\DummyLinker::specialLink (   $name,
  $key = '' 
)

Definition at line 185 of file DummyLinker.php.

References MediaWiki\Linker\Linker\specialLink().

◆ splitTrail()

MediaWiki\Linker\DummyLinker::splitTrail (   $trail)

Definition at line 366 of file DummyLinker.php.

References MediaWiki\Linker\Linker\splitTrail().

◆ titleAttrib()

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

Definition at line 402 of file DummyLinker.php.

References MediaWiki\Linker\Linker\titleAttrib().

◆ tocIndent()

MediaWiki\Linker\DummyLinker::tocIndent ( )

Definition at line 318 of file DummyLinker.php.

References MediaWiki\Linker\Linker\tocIndent().

◆ tocLine()

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

Definition at line 326 of file DummyLinker.php.

References MediaWiki\Linker\Linker\tocLine().

◆ tocLineEnd()

MediaWiki\Linker\DummyLinker::tocLineEnd ( )

Definition at line 336 of file DummyLinker.php.

References MediaWiki\Linker\Linker\tocLineEnd().

◆ tocList()

MediaWiki\Linker\DummyLinker::tocList (   $toc,
Language  $lang = null 
)

Definition at line 340 of file DummyLinker.php.

References $lang, and MediaWiki\Linker\Linker\tocList().

◆ tocUnindent()

MediaWiki\Linker\DummyLinker::tocUnindent (   $level)

Definition at line 322 of file DummyLinker.php.

References MediaWiki\Linker\Linker\tocUnindent().

◆ tooltip()

MediaWiki\Linker\DummyLinker::tooltip (   $name,
  $options = null 
)

Definition at line 441 of file DummyLinker.php.

References MediaWiki\Linker\Linker\tooltip().

◆ tooltipAndAccesskeyAttribs()

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

◆ userLink()

MediaWiki\Linker\DummyLinker::userLink (   $userId,
  $userName,
  $altUserName = false,
  $attributes = [] 
)

Definition at line 207 of file DummyLinker.php.

References MediaWiki\Linker\Linker\userLink().

◆ userTalkLink()

MediaWiki\Linker\DummyLinker::userTalkLink (   $userId,
  $userText 
)

Definition at line 240 of file DummyLinker.php.

References MediaWiki\Linker\Linker\userTalkLink().

◆ userToolLinks()

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

Definition at line 216 of file DummyLinker.php.

References MediaWiki\Linker\Linker\userToolLinks().

◆ userToolLinksRedContribs()

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

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