MediaWiki
master
OpportunisticLinksUpdateHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Parser\ParserOutput
;
6
use
MediaWiki\Title\Title
;
7
use
WikiPage
;
8
16
interface
OpportunisticLinksUpdateHook
{
33
public
function
onOpportunisticLinksUpdate
( $page, $title, $parserOutput );
34
}
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:93
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:85
MediaWiki\Page\Hook\OpportunisticLinksUpdateHook
This is a hook handler interface, see docs/Hooks.md.
Definition
OpportunisticLinksUpdateHook.php:16
MediaWiki\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
includes
page
Hook
OpportunisticLinksUpdateHook.php
Generated on Mon Dec 9 2024 19:24:44 for MediaWiki by
1.10.0