MediaWiki REL1_39
ArticleParserOptionsHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Article;
7
27 public function onArticleParserOptions(
28 Article $article, ParserOptions $popts
29 );
30
31}
Legacy class representing an editable page and handling UI for some page actions.
Definition Article.php:48
Set options of the Parser.
This is a hook handler interface, see docs/Hooks.md.
onArticleParserOptions(Article $article, ParserOptions $popts)
This hook is called before parsing wikitext for an article, and allows setting particular parser opti...