MediaWiki
master
ArticleFromTitleHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Article
;
6
use
MediaWiki\Context\IContextSource
;
7
use
MediaWiki\Title\Title
;
8
16
interface
ArticleFromTitleHook
{
28
public
function
onArticleFromTitle
( $title, &$article, $context );
29
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:71
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:71
MediaWiki\Page\Hook\ArticleFromTitleHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticleFromTitleHook.php:16
MediaWiki\Page\Hook\ArticleFromTitleHook\onArticleFromTitle
onArticleFromTitle( $title, &$article, $context)
This hook is called when creating an article object from a title object using Wiki::articleFromTitle(...
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleFromTitleHook.php
Generated on Mon Dec 9 2024 19:24:43 for MediaWiki by
1.10.0