On Sep 17, 2004, at 9:19 AM, Timwi wrote:
Brion Vibber wrote:
on en.wikipedia.org the random selection has been hacked not to return pages last edited by the accounts Ram-Man or Rambot.
Did you do this by hacking the code (adding to the SQL query) or the DB (setting the relevant cur_random fields to 0)?
It wasn't me that did it, but here's the hack in the settings:
'wgExtraRandompageSQL' => array( 'enwiki' => 'cur_user<>3903 AND cur_user<>6120', ),
What you said sounded like the former, but personally I think the latter makes more sense (it would automatically heal over time as articles are edited by other people and are assigned a cur_random that way).
That would *not* heal, as currently cur_random is assigned only at creation time, not on further edits. The current hack *does* heal, as the last-editor user ID will change when it's further edited. As long as Ram-Man is not still editing with his own account, anyway. ;)
-- brion vibber (brion @ pobox.com)