Index: trunk/phase3/includes/RecentChange.php |
— | — | @@ -283,7 +283,7 @@ |
284 | 284 | 'rc_title' => $title->getDBkey(), |
285 | 285 | 'rc_type' => RC_EDIT, |
286 | 286 | 'rc_minor' => $minor ? 1 : 0, |
287 | | - 'rc_cur_id' => $title->getArticleID(), |
| 287 | + 'rc_cur_id' => $action === 'delete' ? 0 : $target->getArticleID(), |
288 | 288 | 'rc_user' => $user->getID(), |
289 | 289 | 'rc_user_text' => $user->getName(), |
290 | 290 | 'rc_comment' => $comment, |