00001 <?php 00002 00003 /* 00004 * Makes the required database updates for rev_parent_id 00005 * to be of any use. It can be used for some simple tracking 00006 * and to find new page edits by users. 00007 */ 00008 00009 require_once 'commandLine.inc'; 00010 require_once 'populateParentId.inc'; 00011 00012 $db =& wfGetDB( DB_MASTER ); 00013 if ( !$db->tableExists( 'revision' ) ) { 00014 echo "revision table does not exist\n"; 00015 exit( 1 ); 00016 } 00017 00018 populate_rev_parent_id( $db );