Provides event handlers and entry points for the extension. More...
Static Public Member Functions | |
static | onPageContentSave (&$wikiPage, &$user, &$content, &$summary, $isMinor, $isWatch, $section, &$flags, &$status) |
Event handler for the PageContentSave hook. More... | |
static | onInternalParseBeforeLinks (\Parser &$parser, &$text) |
static | processPage (\Title $title,\RequestContext $context) |
Adds links to a single page. More... | |
static | onGetDoubleUnderscoreIDs (array &$doubleUnderscoreIDs) |
static | onParserFirstCallInit (\Parser $parser) |
Handles the ParserFirstCallInit hook and adds the <autolink>/</noautolink> tags. | |
static | doNoautolinksTag ($input, array $args,\Parser $parser,\PPFrame $frame) |
static | doAutolinksTag ($input, array $args,\Parser $parser,\PPFrame $frame) |
Public Attributes | |
const | URL = 'https://github.com/bovender/LinkTitles' |
Provides event handlers and entry points for the extension.
Definition at line 29 of file Extension.php.
|
static |
Event handler for the PageContentSave hook.
This handler is used if the parseOnEdit configuration option is set.
Definition at line 37 of file Extension.php.
|
static |
Adds links to a single page.
Entry point for the SpecialLinkTitles class and the LinkTitlesJob class.
\Title | $title | Title object. |
\RequestContext | $context | Current request context. If in doubt, call MediaWiki's RequestContext::getMain() to obtain such an object. |
Definition at line 77 of file Extension.php.