/** * HTML formatting function. This takes a single row from the * akismet_edits DB table and returns an HTML string. The rows are * concatenated together by the super class. * * Overrides the function in the parent class. * * @param $row Object: database row * @return String */ function formatRow($row) { $edit_id = $row->id; $page_id = $row->page_id; $timestamp = wfTimestamp(TS_RFC2822, $row->timestamp); $username = $row->username; $difftext = $row->html_diff; return AkismetEdit::createUserJudgeHTML($edit_id, $page_id, $timestamp, $username, $difftext); }