MediaWiki
REL1_41
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:76
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:77
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
includes
page
Hook
WikiPageFactoryHook.php
Generated on Wed Nov 27 2024 07:24:10 for MediaWiki by
1.10.0