Thanks, Rob.
I'm running 1.8.2, which was installed over 1.7.x using the web-based installation. The problem definitely is, that the below query is not successful; $res is empty, although $set is ok.
Although I do not get any warning: might it be a problem, that my provider only allows me 8 MB for php? Well, maybe I upgrade to 1.8.3 as soon as I have the time for it. Hopefully it will solve the problem ;-)
zaydo
Rob Church wrote:
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
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l