Remove un-needed comment transformation
authorRob Church <robchurch@users.mediawiki.org>
Thu, 12 Apr 2007 10:08:08 +0000 (10:08 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Thu, 12 Apr 2007 10:08:08 +0000 (10:08 +0000)
maintenance/importTextFile.php

index a1bb389..60ee228 100644 (file)
@@ -38,7 +38,6 @@ if( count( $args ) < 1 || isset( $options['help'] ) ) {
                                
                                        $wgUser =& $user;
                                        $comment = isset( $options['comment'] ) ? $options['comment'] : 'Importing text file';
-                                       $comment = str_replace( '_', ' ', $comment );
                                        $flags = 0 | ( isset( $options['norc'] ) ? EDIT_SUPPRESS_RC : 0 );
                                        
                                        echo( "\nPerforming edit..." );