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