MediaWiki  master
OpportunisticLinksUpdateHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Page;
6 use ParserOutput;
7 use Title;
8 
33  public function onOpportunisticLinksUpdate( $page, $title, $parserOutput );
34 }
Page
Interface for type hinting (accepts WikiPage, Article, ImagePage, CategoryPage)
Definition: Page.php:29
ParserOutput
Definition: ParserOutput.php:35
Page::Hook\OpportunisticLinksUpdateHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OpportunisticLinksUpdateHook.php:16
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:47
Page::Hook\OpportunisticLinksUpdateHook\onOpportunisticLinksUpdate
onOpportunisticLinksUpdate( $page, $title, $parserOutput)
This hook is called by WikiPage::triggerOpportunisticLinksUpdate when a page view triggers a re-rende...
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3