Manual:Linker.php

This page is a translated version of the page Manual:Linker.php and the translation is 23% complete.

The Linker class contains methods for creating links and related items.

詳細

Linker.php splits off some of the internal bits from Skin.php . Linker's functions are used primarily for page content such as links, embedded images, table of contents.

Previous class name before MediaWiki 1.40: MovePageForm (without namespace).

Public methods

Include:

  • makeSelfLinkObj()
  • getInvalidTitleDescription()
Methods for images, media files
  • makeExternalImage()
  • makeImageLink()
  • getImageLinkMTOParams()
  • makeThumbLinkObj()
  • makeThumbLink2()
  • processResponsiveImages()
  • makeBrokenImageLinkObj()
  • makeMediaLinkObj()
  • makeMediaLinkFile()
TOC
  • tocIndent()
  • tocUnindent()
  • tocLine()
  • tocLineEnd()
  • tocList()
  • generateTOC()
Rollback links
  • generateRollback()
  • getRollbackEditCount()
  • buildRollbackLink()
Other
  • specialLink()
  • makeExternalLink()
  • userLink()
  • userToolLinks()
  • userToolLinksRedContribs()
  • userTalkLink()
  • blockLink()
  • emailLink()
  • revUserLink()
  • getRevisionDeletedClass()
  • revUserTools()
  • expandLocalLinks()
  • normalizeSubpageLink()
  • formatRevisionSize()
  • makeHeadline()
  • splitTrail()
  • formatHiddenCategories()
  • titleAttrib()
  • accesskey()
  • getRevDeleteLink()
  • revDeleteLink()
  • revDeleteLinkDisabled()
  • tooltipAndAccesskeyAttribs()
  • tooltip()

関連項目