From: Alexandre Emsenhuber Date: Tue, 1 Mar 2011 08:52:38 +0000 (+0000) Subject: Per Reedy, fix for r82034: forgot to change a wfGetCacheNotice() call (and also chang... X-Git-Tag: 1.31.0-rc.0~31709 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=304ce524eb61bd249481b6849009b6da9c60c2b1;p=lhc%2Fweb%2Fwiklou.git Per Reedy, fix for r82034: forgot to change a wfGetCacheNotice() call (and also changed a comment) --- diff --git a/includes/Skin.php b/includes/Skin.php index 7d0c549894..6c563319fc 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1567,7 +1567,7 @@ abstract class Skin extends Linker { $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 = ''; } } @@ -1586,7 +1586,7 @@ abstract class Skin extends Linker { wfProfileIn( __METHOD__ ); $key = 'namespacenotice-' . $this->mTitle->getNsText(); - $namespaceNotice = wfGetCachedNotice( $key ); + $namespaceNotice = $this->getCachedNotice( $key ); if ( $namespaceNotice && substr( $namespaceNotice, 0, 7 ) != '

<' ) { $namespaceNotice = '

' . $namespaceNotice . '
'; } else {