From MediaWiki.org
[edit] Description
Linker.php splits off some of the internal bits from Skin.php. Linker's functions are used primarily for page content: links, embedded images, table of contents. Links are also used in the 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 $wgUser->getSkin()
.
[edit] Functions
Extended content |
The following content has been placed in a collapsed box for improved usability. |
- 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
|
The above content has been placed in a collapsed box for improved usability. |
Hooks called from this file are listed in the Category:MediaWiki hooks included in Linker.php category. They include:
[edit] See also