[Mediawiki-l] recentchanges Was: [Wikitech-l] importDump and setting rc_bot
jimhu at tamu.edu
Mon May 21 23:35:12 UTC 2007
On May 21, 2007, at 3:55 PM, Brion Vibber wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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
>>> 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
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
> 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)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v184.108.40.206 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
Dept. of Biochemistry and Biophysics
Texas A&M Univ.
College Station, TX 77843-2128
More information about the MediaWiki-l