MediaWiki
master
ArticleViewHeaderHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Page\Article
;
6
use
MediaWiki\Parser\ParserOutput
;
7
15
interface
ArticleViewHeaderHook
{
29
public
function
onArticleViewHeader
( $article, &$outputDone, &$pcache );
30
}
MediaWiki\Page\Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:77
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:93
MediaWiki\Page\Hook\ArticleViewHeaderHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticleViewHeaderHook.php:15
MediaWiki\Page\Hook\ArticleViewHeaderHook\onArticleViewHeader
onArticleViewHeader( $article, &$outputDone, &$pcache)
Use this hook to control article output.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleViewHeaderHook.php
Generated on Sun Apr 20 2025 15:25:15 for MediaWiki by
1.10.0