From: Tim Starling Date: Sun, 30 Nov 2003 07:45:34 +0000 (+0000) Subject: MediaWiki: namespace update bug fix X-Git-Tag: 1.1.0~47 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=c7f9484049fb1c23b8193f99c6cdbe7d51b1e6bd;p=lhc%2Fweb%2Fwiklou.git MediaWiki: namespace update bug fix --- diff --git a/includes/Article.php b/includes/Article.php index 95ef788b14..50af8bf491 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1074,7 +1074,7 @@ class Article { $this->mTitle->getDBkey() ); array_push( $wgDeferredUpdateList, $u ); - if ( $this->getNamespace == NS_MEDIAWIKI ) { + if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) { $messageCache = $wgMemc->get( "$wgDBname:messages" ); if (!$messageCache) { $messageCache = wfLoadAllMessages();