Central class of the extension. More...
Static Public Member Functions | |
static | setup () |
Setup function, hooks the extension's functions to MediaWiki events. | |
static | onPageContentSave (&$wikiPage, &$user, &$content, &$summary, $isMinor, $isWatch, $section, &$flags, &$status) |
Event handler that is hooked to the PageContentSave event. | |
static | onInternalParseBeforeLinks (Parser &$parser, &$text) |
Event handler that is hooked to the InternalParseBeforeLinks event. More... | |
static | processPage ($title, RequestContext $context) |
Automatically processes a single page, given a $title Title object. More... | |
static | onGetDoubleUnderscoreIDs (array &$doubleUnderscoreIDs) |
Adds the two magic words defined by this extension to the list of 'double-underscore' terms that are automatically removed before a page is displayed. More... | |
Central class of the extension.
Sets up parser hooks. This class contains only static functions; do not instantiate.
Definition at line 31 of file LinkTitles.body.php.
|
static |
Adds the two magic words defined by this extension to the list of 'double-underscore' terms that are automatically removed before a page is displayed.
$doubleUnderscoreIDs | Array of magic word IDs. |
Definition at line 286 of file LinkTitles.body.php.
|
static |
Event handler that is hooked to the InternalParseBeforeLinks event.
Parser | $parser | Parser that raised the event. |
$text | Preprocessed text of the page. |
Definition at line 79 of file LinkTitles.body.php.
|
static |
Automatically processes a single page, given a $title Title object.
This function is called by the SpecialLinkTitles class and the LinkTitlesJob class.
string | $title | Page title. |
RequestContext | $context | Current context. If in doubt, call MediaWiki's RequestContext::getMain() to obtain such an object. |
Definition at line 264 of file LinkTitles.body.php.