MediaWiki master
WikiPageFactoryHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use MediaWiki\Page\WikiPage;
6use MediaWiki\Title\Title;
7
25 public function onWikiPageFactory( $title, &$page );
26}
This is a hook handler interface, see docs/Hooks.md.
onWikiPageFactory( $title, &$page)
Use this hook to override WikiPage class used for a title.