bug fix I (replaced -\>mTitle with )
authorGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 31 Jan 2004 16:33:32 +0000 (16:33 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 31 Jan 2004 16:33:32 +0000 (16:33 +0000)
includes/Article.php

index 65d1a66..b588066 100644 (file)
@@ -1225,10 +1225,10 @@ class Article {
                        $u = new SearchUpdate( $id, $title, $text );
                        array_push( $wgDeferredUpdateList, $u );
 
-                       $u = new UserTalkUpdate( 1, $this->mTitle->getNamespace(), $shortTitle );
+                       $u = new UserTalkUpdate( 1, $title_obj->getNamespace(), $shortTitle );
                        array_push( $wgDeferredUpdateList, $u );
 
-                       if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) {
+                       if ( $title_obj->getNamespace() == NS_MEDIAWIKI ) {
                                $wgMessageCache->replace( $shortTitle, $text );
                        }
                }
@@ -1304,10 +1304,10 @@ class Article {
                        $u = new SearchUpdate( $id, $title, $text );
                        array_push( $wgDeferredUpdateList, $u );
 
-                       $u = new UserTalkUpdate( 1, $this->mTitle->getNamespace(), $shortTitle );
+                       $u = new UserTalkUpdate( 1, $title_obj->getNamespace(), $shortTitle );
                        array_push( $wgDeferredUpdateList, $u );
 
-                       if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) {
+                       if ( $title_obj->getNamespace() == NS_MEDIAWIKI ) {
                                $wgMessageCache->replace( $shortTitle, $text );
                        }
                }