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