Don't assume edits are bot edits just because there is no 'bot=' url param...
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 30 Sep 2008 13:31:48 +0000 (13:31 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 30 Sep 2008 13:31:48 +0000 (13:31 +0000)
includes/RecentChange.php

index 274ee5e..fa801fb 100644 (file)
@@ -491,7 +491,7 @@ class RecentChange
                        'rc_comment'    => $logComment,
                        'rc_this_oldid' => 0,
                        'rc_last_oldid' => 0,
-                       'rc_bot'        => $user->isAllowed( 'bot' ) ? $wgRequest->getBool( 'bot' , true ) : 0,
+                       'rc_bot'        => $user->isAllowed( 'bot' ) ? $wgRequest->getBool( 'bot' ) : 0,
                        'rc_moved_to_ns'        => 0,
                        'rc_moved_to_title'     => '',
                        'rc_ip' => $ip,