MediaWiki REL1_39
MediaWiki\Hook\InternalParseBeforeLinksHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\InternalParseBeforeLinksHook:

Public Member Functions

 onInternalParseBeforeLinks ( $parser, &$text, $stripState)
 This hook is called during Parser's internalParse method before links but after nowiki/noinclude/includeonly/onlyinclude and other processing.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "InternalParseBeforeLinks" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file InternalParseBeforeLinksHook.php.

Member Function Documentation

◆ onInternalParseBeforeLinks()

MediaWiki\Hook\InternalParseBeforeLinksHook::onInternalParseBeforeLinks ( $parser,
& $text,
$stripState )

This hook is called during Parser's internalParse method before links but after nowiki/noinclude/includeonly/onlyinclude and other processing.

Since
1.35
Parameters
Parser$parser
string&$textPartially parsed text
StripState$stripStateParser's internal StripState object
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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