MediaWiki REL1_35
ArticleFromTitleHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Article;
7use Title;
8
25 public function onArticleFromTitle( $title, &$article, $context );
26}
Class for viewing MediaWiki article and history.
Definition Article.php:46
Represents a title within MediaWiki.
Definition Title.php:42
Interface for objects which can provide a MediaWiki context on request.
onArticleFromTitle( $title, &$article, $context)
This hook is called when creating an article object from a title object using Wiki::articleFromTitle(...