MediaWiki
1.39.10
ArticleFromTitleHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Article
;
6
use
IContextSource
;
7
use
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:48
Title
Represents a title within MediaWiki.
Definition
Title.php:49
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:58
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
$title
$title
Definition
testCompression.php:38
includes
page
Hook
ArticleFromTitleHook.php
Generated on Tue Oct 1 2024 01:16:15 for MediaWiki by
1.10.0