4 * Makes the required database updates for rev_parent_id
5 * to be of any use. It can be used for some simple tracking
6 * and to find new page edits by users.
9 define( 'BATCH_SIZE', 200 );
11 require_once 'commandLine.inc';
12 require_once 'populateParentId.inc';
14 $db =& wfGetDB( DB_MASTER
);
15 if ( !$db->tableExists( 'revision' ) ) {
16 echo "revision table does not exist\n";
20 populate_rev_parent_id( $db );