prevent a warning that occurred because rc_patrolled was undefined when viewing
authorArne Heizmann <timwi@users.mediawiki.org>
Mon, 9 Aug 2004 10:02:54 +0000 (10:02 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Mon, 9 Aug 2004 10:02:54 +0000 (10:02 +0000)
the watchlist because the watchlist uses 'fake' recentchanges rows that it
constructs from rows that actually come from cur, not recentchanges.

includes/RecentChange.php

index dd0370e..fbe1161 100644 (file)
@@ -344,6 +344,8 @@ class RecentChange
                        'rc_moved_to_ns'        => 0,
                        'rc_moved_to_title'     => '',
                        'rc_ip' => '',
+                       'rc_patrolled' => '1',  # we can't support patrolling on the Watchlist
+                                               # currently because it uses cur, not recentchanges
                        'rc_new' => $row->cur_is_new # obsolete
                );