MediaWiki  master
LanguageLinksHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 
14 interface LanguageLinksHook {
30  public function onLanguageLinks( $title, &$links, &$linkFlags );
31 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\LanguageLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LanguageLinksHook.php:14
$title
$title
Definition: testCompression.php:38
MediaWiki\Hook\LanguageLinksHook\onLanguageLinks
onLanguageLinks( $title, &$links, &$linkFlags)
Use this hook to manipulate a page's language links.
Title
Represents a title within MediaWiki.
Definition: Title.php:41