Per Reedy, fix for r82034: forgot to change a wfGetCacheNotice() call (and also chang...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 1 Mar 2011 08:52:38 +0000 (08:52 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 1 Mar 2011 08:52:38 +0000 (08:52 +0000)
includes/Skin.php

index 7d0c549..6c56331 100644 (file)
@@ -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 ) != '<p>&lt;' ) {
                        $namespaceNotice = '<div id="namespacebanner">' . $namespaceNotice . '</div>';
                } else {