$db = $this->getDB( DB_MASTER );
$this->output( "Updating *_from_namespace fields in links tables.\n" );
$start = $this->getOption( 'lastUpdatedId' );
if ( !$start ) {
$db = $this->getDB( DB_MASTER );
$this->output( "Updating *_from_namespace fields in links tables.\n" );
$start = $this->getOption( 'lastUpdatedId' );
if ( !$start ) {