MediaWiki
REL1_39
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
15
interface
WikiPageFactoryHook
{
25
public
function
onWikiPageFactory
(
$title
, &$page );
26
}
Title
Represents a title within MediaWiki.
Definition
Title.php:49
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:62
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:38
includes
page
Hook
WikiPageFactoryHook.php
Generated on Mon Dec 2 2024 06:23:50 for MediaWiki by
1.10.0