improve log dupe check
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 18 Sep 2008 21:12:29 +0000 (21:12 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 18 Sep 2008 21:12:29 +0000 (21:12 +0000)
includes/Import.php

index a4eeb92..a5bd182 100644 (file)
@@ -247,6 +247,9 @@ class WikiRevision {
                        array( 'log_type' => $this->getType(),
                                'log_action'    => $this->getAction(),
                                'log_timestamp' => $dbw->timestamp( $this->timestamp ),
+                               'log_namespace' => $this->getTitle()->getNamespace(),
+                               'log_title'     => $this->getTitle()->getDBkey(),
+                               'log_comment'   => $this->getComment(),
                                #'log_user_text' => $this->user_text,
                                'log_params'    => $this->params ),
                        __METHOD__