MediaWiki
REL1_35
WikiPageFactoryHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Title
;
6
use
WikiPage
;
7
12
interface
WikiPageFactoryHook
{
22
public
function
onWikiPageFactory
(
$title
, &$page );
23
}
Title
Represents a title within MediaWiki.
Definition
Title.php:42
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Page\Hook\WikiPageFactoryHook
Stable to implement.
Definition
WikiPageFactoryHook.php:12
MediaWiki\Page\Hook\WikiPageFactoryHook\onWikiPageFactory
onWikiPageFactory( $title, &$page)
Use this hook to override WikiPage class used for a title.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
$title
$title
Definition
testCompression.php:38
includes
page
Hook
WikiPageFactoryHook.php
Generated on Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8