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 require_once 'commandLine.inc';
10 require_once 'populateParentId.inc';
12 $db =& wfGetDB( DB_MASTER
);
13 if ( !$db->tableExists( 'revision' ) ) {
14 echo "revision table does not exist\n";
18 populate_rev_parent_id( $db );