MediaWiki REL1_40
ArticleFromTitleHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Article;
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:56
Represents a title within MediaWiki.
Definition Title.php:82
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(...