MediaWiki
master
ArticleRevisionViewCustomHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Output\OutputPage
;
6
use
MediaWiki\Revision\RevisionRecord
;
7
use
MediaWiki\Title\Title
;
8
16
interface
ArticleRevisionViewCustomHook
{
31
public
function
onArticleRevisionViewCustom
( $revision, $title, $oldid,
32
$output
33
);
34
}
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:97
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:50
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Page\Hook\ArticleRevisionViewCustomHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticleRevisionViewCustomHook.php:16
MediaWiki\Page\Hook\ArticleRevisionViewCustomHook\onArticleRevisionViewCustom
onArticleRevisionViewCustom( $revision, $title, $oldid, $output)
Use this hook for custom rendering of an article's content.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleRevisionViewCustomHook.php
Generated on Mon Dec 9 2024 19:24:43 for MediaWiki by
1.10.0