|
MediaWiki REL1_35
|
Stable to implement. More...

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. | |
Stable to implement.
Definition at line 12 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.