From 48147c381f78cb6116c657ca3654f816628df135 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 18 Sep 2008 21:12:29 +0000 Subject: [PATCH] improve log dupe check --- includes/Import.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/Import.php b/includes/Import.php index a4eeb92c52..a5bd182cf7 100644 --- a/includes/Import.php +++ b/includes/Import.php @@ -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__ -- 2.20.1