MediaWiki  master
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 
25  public function onWikiPageFactory( $title, &$page );
26 }
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:54
$title
$title
Definition: testCompression.php:38
Page::Hook\WikiPageFactoryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WikiPageFactoryHook.php:15
Page::Hook\WikiPageFactoryHook\onWikiPageFactory
onWikiPageFactory( $title, &$page)
Use this hook to override WikiPage class used for a title.
Title
Represents a title within MediaWiki.
Definition: Title.php:41
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3