OK, I've just modified the rebuildRecentChanges.php code on SVN /trunk to
flag bot edits.
Tested on my test wiki at localhost.
<div><FONT color=#3333cc>-Aaron Schulz</FONT></div></html>
From: Jim Hu <jimhu(a)tamu.edu>
Reply-To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
Subject: Re: [Wikitech-l] importDump and setting rc_bot
Date: Sun, 20 May 2007 17:26:17 -0400
Yes, I know that.. I should have said recentchanges instead of
revisions.
But they're not flagged in the recentchanges table. The problem is
that they show up whether or not one uses hide bots in
Special:Recentchanges. This is fixable by manually updating
recentchanges with,
update recentchanges set rc_bot=1 where rc_user=<bot_user_id>;
but I was hoping that importDump would do this automatically based on
recognizing the username. However, upon reflection, I believe that
importDump doesn't do anything directly to recentchanges - I usually
have to rebuild to get changes to show up. Thus, if there is a fix
needed, it should be in rebuildrecentchanges.php or somewhere else.
JH
On May 20, 2007, at 3:29 PM, Aaron Schulz wrote:
Hmm, bot edits are only observed as "bot
edits" in the
recentchanges table. Edits by bots in the revision table are not
actually flagged as bot edits.
<div><FONT color=#3333cc>-Aaron Schulz</FONT></div></html>
From: Jim Hu <jimhu(a)tamu.edu>
Reply-To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
To: Wikimedia developers <wikitech-
l(a)lists.wikimedia.org>,MediaWiki announcements and site admin
list<mediawiki-l(a)lists.wikimedia.org>
Subject: [Wikitech-l] importDump and setting rc_bot
Date: Sun, 20 May 2007 13:22:07 -0400
As far as I can tell, importDump does not mark imported pages as
coming from a bot, even when the user is a bot in the User table. Is
that correct? Is there a way to indicate a bot revision in the xml,
or do I need to do this in the db afterward?
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
_________________________________________________________________
Make every IM count. Download Messenger and join the im Initiative
now. Its free.
http://im.live.com/messenger/im/home/?
source=TAGHM_MAY07
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
_________________________________________________________________
PC Magazines 2007 editors choice for best Web mailaward-winning Windows
Live Hotmail.