MediaWiki
master
ArticleParserOptionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Article
;
6
use
MediaWiki\Parser\ParserOptions
;
7
15
interface
ArticleParserOptionsHook
{
27
public
function
onArticleParserOptions
(
28
Article
$article,
ParserOptions
$popts
29
);
30
31
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:72
MediaWiki\Parser\ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:60
MediaWiki\Page\Hook\ArticleParserOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticleParserOptionsHook.php:15
MediaWiki\Page\Hook\ArticleParserOptionsHook\onArticleParserOptions
onArticleParserOptions(Article $article, ParserOptions $popts)
This hook is called before parsing wikitext for an article, and allows setting particular parser opti...
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleParserOptionsHook.php
Generated on Thu Nov 14 2024 17:24:18 for MediaWiki by
1.10.0