MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSkinTemplateGetLanguageLink (&$languageLink, $languageLinkTitle, $title, $outputPage) | |
This hook is called after building the data for a language link from which the actual html is constructed. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SkinTemplateGetLanguageLink" to register handlers implementing this interface.
Definition at line 15 of file SkinTemplateGetLanguageLinkHook.php.
MediaWiki\Hook\SkinTemplateGetLanguageLinkHook::onSkinTemplateGetLanguageLink | ( | & | $languageLink, |
$languageLinkTitle, | |||
$title, | |||
$outputPage ) |
This hook is called after building the data for a language link from which the actual html is constructed.
array | &$languageLink | Array containing data about the link. The following keys can be modified: href, text, title, class, lang, hreflang. Each of them is a string. |
Title | $languageLinkTitle | Title object belonging to the external language link |
Title | $title | Title object of the page the link belongs to |
OutputPage | $outputPage | OutputPage object the links are built from |
Implemented in MediaWiki\HookContainer\HookRunner.