setLocation( $id)
Sets the location (cur_id) of the main object to which this object points.
To speed up conversion from 1.4 to 1.5 schema, text rows can refer to the leftover cur table as the b...
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance class