[Mediawiki-l] recentchanges Was: [Wikitech-l] importDump and setting rc_bot

Jim Hu jimhu at tamu.edu
Mon May 21 23:35:12 UTC 2007

On May 21, 2007, at 3:55 PM, Brion Vibber wrote:

> Hash: SHA1
> Jim Hu wrote:
>>> I'll look at it harder at how this affects the import, but I don't
>>> think it will affect the rebuildrecentchanges.php/
>>> rebuildrecentchanges.inc mechanisms, since they don't seem to call
>>> RecentChange.php.  I have to rebuild a lot, since the job queue  
>>> falls
>>> waaaay behind when I run my scripts.
> Ahhhh, I see -- this has nothing to do with imports at all, it's the
> Recentchanges rebuild script.

Indeed!  Until I dove deeper into the code, I thought it was the  
import... but yes, it's the rebuild that's the problem (which is why  
I tried to change the name of the thread!).  The first clue was when  
I updated rc_bot manually and it only affected 5000 rows.  That's  
odd, I thought...

> Running the rebuild script will remove bot flags from all recent  
> changes
> entries.

I found this bug on the bugzilla, complete with a patch (unreviewed?)


but I don't think it will do what I need.

> In theory you could probably approximate it based on bot group
> membership or something, but it would complicate the query or  
> require a
> second pass (and of course would not be exact and may or may not be  
> what
> you want anyway.)

I'm thinking that for my specific case I should just customize my own  
copy to do a second pass or filter them out.  Instead of bot group  
membership, I'll look at the rc_comment being "Automated import of  
articles".  Probably not useful for wikipedia or general use, but  
there are some other folks I know who could use this.

I was also going to put a bug into bugzilla about ordering, but I see  
in SVN that you fixed it 3 weeks and 4 days ago.

> - -- brion vibber (brion @ wikimedia.org)
> Version: GnuPG v1.4.2.2 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iD8DBQFGUfkuwRnhpk1wk44RAqx9AKC04G2/OrWEow+73s04IWGe8e3EjQCgrNZN
> Q1KAfXcF0uCMgmQxV6tBDKE=
> =zHhp
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128

More information about the MediaWiki-l mailing list