Set log_page on save
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 16 Sep 2009 13:28:01 +0000 (13:28 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 16 Sep 2009 13:28:01 +0000 (13:28 +0000)
includes/LogPage.php

index b006eac..278e9ba 100644 (file)
@@ -72,6 +72,7 @@ class LogPage {
                        'log_user_text' => $this->doer->getName(),
                        'log_namespace' => $this->target->getNamespace(),
                        'log_title' => $this->target->getDBkey(),
+                       'log_page' => $this->target->getArticleId(),
                        'log_comment' => $this->comment,
                        'log_params' => $this->params
                );