Manual:Linker.php

Details
Linker.php splits off some of the internal bits from . Linker's functions are used primarily for page content: links>Special:MyLanguage/Manual:Links|links, embedded>Special:MyLanguage/Manual:Embedded images|embedded images, toc>Special:MyLanguage/Manual:Table of contents|table of contents. Links are also used in the skin>Special:MyLanguage/Manual:skin|skin.

For the moment, Skin is a descendent class of Linker. In the future, it should probably be further split so that every other bit of the wiki doesn't have to go loading up Skin to get at it.

Linker contains methods to create internal, external or image links and implements page existence detection. To use this class, use  .

Functions

 * accesskey
 * blockLink
 * buildRollbackLink
 * commentBlock
 * doEditSectionLink
 * editSectionLink
 * editSectionLinkForOther
 * fnamePart
 * formatAutocomments
 * formatAutocommentsCallback
 * formatComment
 * formatHiddenCategories
 * formatLinksInComment
 * formatLinksInCommentCallback
 * formatRevisionSize
 * formatSize
 * formatTemplates
 * generateRollback
 * generateTOC
 * getExternalLinkAttributes
 * getInternalLinkAttributes
 * getInternalLinkAttributesObj
 * getInterwikiLinkAttributes
 * getLinkAttributesInternal
 * getLinkColour
 * getUploadUrl
 * link
 * linkAttribs
 * linkKnown
 * linkText
 * linkUrl
 * makeBrokenImageLinkObj
 * makeBrokenLink
 * makeBrokenLinkObj
 * makeColouredLinkObj
 * makeExternalImage
 * makeExternalLink
 * makeHeadline
 * makeImage
 * makeImageLink2
 * makeImageLinkObj
 * makeKnownLink
 * makeKnownLinkObj
 * makeLink
 * makeLinkObj
 * makeMediaLink
 * makeMediaLinkObj
 * makeSelfLinkObj
 * makeSizeLinkObj
 * makeStubLink
 * makeStubLinkObj
 * makeThumbLink2
 * makeThumbLinkObj
 * normaliseSpecialPage
 * normalizeSubpageLink
 * postParseLinkColour
 * revComment
 * revDeleteLink
 * revDeleteLinkDisabled
 * revUserLink
 * revUserTools
 * specialLink
 * splitTrail
 * titleAttrib
 * tocIndent
 * tocLine
 * tocLineEnd
 * tocList
 * tocUnindent
 * TOOL_LINKS_NOBLOCK	Linker
 * tooltip
 * tooltipAndAccesskey
 * tooltipAndAccesskeyAttribs
 * userLink
 * userTalkLink
 * userToolLinks
 * userToolLinksRedContribs

hooks>Special:MyLanguage/Manual:Hooks|Hooks
Hooks called from this file are listed in the cat-hooks>:Category:MediaWiki hooks included in Linker.php|MediaWiki hooks included in Linker.php category. They include: