MediaWiki
REL1_19
|
Various core link functions, registered in Parser::firstCallInit() More...
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) |
Various core link functions, registered in Parser::firstCallInit()
Definition at line 12 of file CoreLinkFunctions.php.
static CoreLinkFunctions::categoryLinkHook | ( | $ | parser, |
$ | holders, | ||
$ | markers, | ||
Title $ | title, | ||
$ | titleText, | ||
&$ | sortText = null , |
||
&$ | leadingColon = false |
||
) | [static] |
$parser | Parser | |
$holders | LinkHolderArray | |
$markers | LinkMarkerReplacer | |
Title | $title | |
$titleText | ||
null | $sortText | |
bool | $leadingColon |
Definition at line 55 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] |
$parser | Parser | |
$holders | LinkHolderArray | |
$markers | LinkMarkerReplacer | |
Title | $title | |
$titleText | ||
null | $displayText | |
bool | $leadingColon |
Definition at line 32 of file CoreLinkFunctions.php.
Referenced by Parser_LinkHooks\replaceInternalLinksCallback().
static CoreLinkFunctions::register | ( | $ | parser | ) | [static] |
$parser | Parser_LinkHooks |
Definition at line 17 of file CoreLinkFunctions.php.
Referenced by Parser_LinkHooks\firstCallInit().