Last modified: 2010-05-15 15:54:53 UTC
In 1.12.0 the subPagesubtitle hook does not work as expected if you return "false" to state "I overrode the implementation use my value" here is a snip of the code starting from line 843 in file includes/Skin.php ---- function subPageSubtitle() { $subpages = ''; if(!wfRunHooks('SkinSubPageSubtitle', array(&$subpages))) return $retval; global $wgOut, $wgTitle, $wgNamespacesWithSubpages; if($wgOut->isArticle() && !empty($wgNamespacesWithSubpages[$wgTitle->getNamespace()])) { $ptext=$wgTitle->getPrefixedText() ---- Note that if !wfRunHooks then $retval is returned, which is an undefined variable. It *should* return $subpages.
Stupid mistake, I wrote a lot of "return $retval;" around that time. Fixed in r35145.