MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onArticleFromTitle ( $title, &$article, $context) | |
This hook is called when creating an article object from a title object using Wiki::articleFromTitle(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ArticleFromTitle" to register handlers implementing this interface.
Definition at line 16 of file ArticleFromTitleHook.php.
MediaWiki\Page\Hook\ArticleFromTitleHook::onArticleFromTitle | ( | $title, | |
& | $article, | ||
$context | |||
) |
This hook is called when creating an article object from a title object using Wiki::articleFromTitle().
Title | $title | Title used to create the article object |
Article | &$article | Article that will be returned |
IContextSource | $context |
Implemented in MediaWiki\HookContainer\HookRunner.