MediaWiki
REL1_35
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
13
interface
ArticleFromTitleHook
{
25
public
function
onArticleFromTitle
(
$title
, &$article, $context );
26
}
Article
Class for viewing MediaWiki article and history.
Definition
Article.php:46
Title
Represents a title within MediaWiki.
Definition
Title.php:42
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:55
MediaWiki\Page\Hook\ArticleFromTitleHook
Stable to implement.
Definition
ArticleFromTitleHook.php:13
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 Sat Apr 6 2024 00:07:33 for MediaWiki by
1.9.8