diff options
Diffstat (limited to 'maintenance/importLogs.php')
-rw-r--r-- | maintenance/importLogs.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/maintenance/importLogs.php b/maintenance/importLogs.php deleted file mode 100644 index 059c2f17..00000000 --- a/maintenance/importLogs.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -/** - * @todo document - * @file - * @ingroup Maintenance - */ - -/** */ -require_once( "commandLine.inc" ); -require_once( "importLogs.inc" ); - -#print $text; -#exit(); - -foreach( LogPage::validTypes() as $type ) { - if( $type == '' ) continue; - - $page = LogPage::logName( $type ); - $log = new Article( Title::makeTitleSafe( NS_PROJECT, $page ) ); - $text = $log->fetchContent(); - - $importer = new LogImporter( $type ); - $importer->dummy = true; - $importer->importText( $text ); -} - - |