$parserMemc->set( $key, array( 'html' => $parsed, 'hash' => md5( $notice ) ), 600 );
$notice = $parsed;
} else {
- wfDebug( 'wfGetCachedNotice called for ' . $name . ' with no $wgOut available' . "\n" );
+ wfDebug( 'Skin::getCachedNotice called for ' . $name . ' with no $wgOut available' . "\n" );
$notice = '';
}
}
wfProfileIn( __METHOD__ );
$key = 'namespacenotice-' . $this->mTitle->getNsText();
- $namespaceNotice = wfGetCachedNotice( $key );
+ $namespaceNotice = $this->getCachedNotice( $key );
if ( $namespaceNotice && substr( $namespaceNotice, 0, 7 ) != '<p><' ) {
$namespaceNotice = '<div id="namespacebanner">' . $namespaceNotice . '</div>';
} else {