r33909 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33908‎ | r33909 | r33910 >
Date:14:11, 26 April 2008
Author:aaron
Status:old
Tags:
Comment:
Add debug log entry
Modified paths:
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -85,6 +85,8 @@
8686 RecentChange::notifyLog( $now, $titleObj, $wgUser, $rcComment, '',
8787 $this->type, $this->action, $this->target, $this->comment, $this->params, $newId );
8888 }
 89+ } else {
 90+ wfDebug( "LogPage::saveContent failed to insert row - Error {$dbw->lastErrno()}: {$dbw->lastError()}" );
8991 }
9092 return $ok;
9193 }

Status & tagging log