MediaWiki  REL1_20
CoreLinkFunctions Class Reference

Various core link functions, registered in Parser::firstCallInit() More...

List of all members.

Static Public Member Functions

static categoryLinkHook ($parser, $holders, $markers, Title $title, $titleText, &$sortText=null, &$leadingColon=false)
static defaultLinkHook ($parser, $holders, $markers, Title $title, $titleText, &$displayText=null, &$leadingColon=false)
static register ($parser)

Detailed Description

Various core link functions, registered in Parser::firstCallInit()

Definition at line 28 of file CoreLinkFunctions.php.


Member Function Documentation

static CoreLinkFunctions::categoryLinkHook ( parser,
holders,
markers,
Title title,
titleText,
&$  sortText = null,
&$  leadingColon = false 
) [static]
Parameters:
$parserParser
$holdersLinkHolderArray
$markersLinkMarkerReplacer
Title$title
$titleText
null$sortText
bool$leadingColon
Returns:
bool|string

Definition at line 71 of file CoreLinkFunctions.php.

References $wgContLang, Sanitizer\decodeCharReferences(), and Title\getDBkey().

static CoreLinkFunctions::defaultLinkHook ( parser,
holders,
markers,
Title title,
titleText,
&$  displayText = null,
&$  leadingColon = false 
) [static]
Parameters:
$parserParser
$holdersLinkHolderArray
$markersLinkMarkerReplacer
Title$title
$titleText
null$displayText
bool$leadingColon
Returns:
bool

Definition at line 48 of file CoreLinkFunctions.php.

Referenced by Parser_LinkHooks\replaceInternalLinksCallback().

static CoreLinkFunctions::register ( parser) [static]
Parameters:
$parserParser_LinkHooks
Returns:
bool

Definition at line 33 of file CoreLinkFunctions.php.

Referenced by Parser_LinkHooks\firstCallInit().


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