MediaWiki
REL1_39
ArticleRevisionViewCustomHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Revision\RevisionRecord
;
6
use
OutputPage
;
7
use
Title
;
8
16
interface
ArticleRevisionViewCustomHook
{
31
public
function
onArticleRevisionViewCustom
( $revision,
$title
, $oldid,
32
$output
33
);
34
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:47
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:54
Title
Represents a title within MediaWiki.
Definition
Title.php:49
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
$title
$title
Definition
testCompression.php:38
includes
page
Hook
ArticleRevisionViewCustomHook.php
Generated on Mon Dec 16 2024 06:35:47 for MediaWiki by
1.10.0