On 04/02/07, zaydo zaydo@gmx.de wrote:
$res = $dbw->query( "SELECT rev_id FROM $tbl_rev WHERE rev_id NOT IN ( $set )" ); while( $row = $dbw->fetchObject( $res ) ) { $old[] = $row->rev_id; }
What version of MediaWiki? I seem to recall the original script had table prefix support added after the base functionality was done, and there were a couple of problems with it in the first release version.
You could pinch the script (and dependencies) from a newer version, such as 1.8.x and see if those work.
Rob Church