9 require_once( "commandLine.inc" );
10 require_once( "importLogs.inc" );
15 foreach( LogPage::validTypes() as $type ) {
16 if( $type == '' ) continue;
18 $page = LogPage::logName( $type );
19 $log = new Article( Title::makeTitleSafe( NS_PROJECT, $page ) );
20 $text = $log->fetchContent();
22 $importer = new LogImporter( $type );
23 $importer->dummy = true;
24 $importer->importText( $text );