Add debug log entry
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 26 Apr 2008 14:11:16 +0000 (14:11 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 26 Apr 2008 14:11:16 +0000 (14:11 +0000)
includes/LogPage.php

index b24611b..c40e96a 100644 (file)
@@ -85,6 +85,8 @@ class LogPage {
                                RecentChange::notifyLog( $now, $titleObj, $wgUser, $rcComment, '',
                                        $this->type, $this->action, $this->target, $this->comment, $this->params, $newId );
                        }
+               } else {
+                       wfDebug( "LogPage::saveContent failed to insert row - Error {$dbw->lastErrno()}: {$dbw->lastError()}" );
                }
                return $ok;
        }