MediaWiki
1.43.1
ArticleViewHeaderHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Article
;
6
use
MediaWiki\Parser\ParserOutput
;
7
15
interface
ArticleViewHeaderHook
{
29
public
function
onArticleViewHeader
( $article, &$outputDone, &$pcache );
30
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:72
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:94
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 Thu Apr 10 2025 18:13:27 for MediaWiki by
1.10.0