MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onArticleParserOptions (Article $article, ParserOptions $popts) | |
This hook is called before parsing wikitext for an article, and allows setting particular parser options based on title, user preferences, etc. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ArticleParserOptions" to register handlers implementing this interface.
Definition at line 15 of file ArticleParserOptionsHook.php.
MediaWiki\Page\Hook\ArticleParserOptionsHook::onArticleParserOptions | ( | Article | $article, |
ParserOptions | $popts ) |
This hook is called before parsing wikitext for an article, and allows setting particular parser options based on title, user preferences, etc.
Article | $article | Article about to be parsed |
ParserOptions | $popts | Mutable parser options |
Implemented in MediaWiki\HookContainer\HookRunner.