MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Page\Hook;
5 use Article;
7 use Title;
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/
onArticleFromTitle( $title, &$article, $context)
This hook is called when creating an article object from a title object using Wiki::articleFromTitle(...