MediaWiki
REL1_35
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
13
interface
ArticleRevisionViewCustomHook
{
28
public
function
onArticleRevisionViewCustom
( $revision,
$title
, $oldid,
29
$output
30
);
31
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:46
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:47
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Page\Hook\ArticleRevisionViewCustomHook
Stable to implement.
Definition
ArticleRevisionViewCustomHook.php:13
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 Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8