called unconditionally.
* TablePager::getBody() is now 'final' and can't be overridden in subclasses.
* TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
+* Added $outputPage parameter to the SkinTemplateGetLanguageLink hook.
* log_page for move log entries store the original page ID, rather than that
of the new redirect page. This is not retroactive.
* LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to
which the actual html is constructed.
&$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.
-$languageLinkTitle: Title object belonging to the external language link
-$title: Title object of the page the link belongs to
+$languageLinkTitle: Title object belonging to the external language link.
+$title: Title object of the page the link belongs to.
+$outputPage: The OutputPage object the links are built from.
To alter the structured navigation links in SkinTemplates, there are three
hooks called in different spots:
);
wfRunHooks(
'SkinTemplateGetLanguageLink',
- array( &$languageLink, $languageLinkTitle, $this->getTitle() )
+ array( &$languageLink, $languageLinkTitle, $this->getTitle(), $this->getOutput() )
);
$languageLinks[] = $languageLink;
}