&$text: bottomScripts Text
Append to $text to add additional text/scripts after the stock bottom scripts.
+'SkinSubPageSubtitle': At the beginning of Skin::subPageSubtitle()
+$skin: Skin object
+&$subpages: Subpage links HTML
+If false is returned $subpages will be used instead of the HTML subPageSubtitle() generates.
+If true is returned, $subpages will be ignored and the rest of subPageSubtitle() will run.
+
'SkinTemplateBuildContentActionUrlsAfterSpecialPage': after the single tab when showing a special page
$sktemplate: SkinTemplate object
$content_actions: array of tabs
}
function subPageSubtitle() {
- global $wgOut,$wgTitle,$wgNamespacesWithSubpages;
$subpages = '';
+ if(!wfRunHooks('SkinSubPageSubtitle', array(&$subpages)))
+ return $retval;
+
+ global $wgOut, $wgTitle, $wgNamespacesWithSubpages;
if($wgOut->isArticle() && !empty($wgNamespacesWithSubpages[$wgTitle->getNamespace()])) {
$ptext=$wgTitle->getPrefixedText();
if(preg_match('/\//',$ptext)) {