MediaWiki
REL1_40
WikiPageFactoryHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
use
WikiPage
;
7
15
interface
WikiPageFactoryHook
{
25
public
function
onWikiPageFactory
(
$title
, &$page );
26
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:82
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:75
MediaWiki\Page\Hook\WikiPageFactoryHook
This is a hook handler interface, see docs/Hooks.md.
Definition
WikiPageFactoryHook.php:15
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:39
includes
page
Hook
WikiPageFactoryHook.php
Generated on Thu Jun 27 2024 14:03:30 for MediaWiki by
1.10.0