Add some newlines to generateSitemap output, bug 26134
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 14 Feb 2011 17:01:42 +0000 (17:01 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 14 Feb 2011 17:01:42 +0000 (17:01 +0000)
maintenance/generateSitemap.php

index a6527bd..d583424 100644 (file)
@@ -271,7 +271,7 @@ class GenerateSitemap extends Maintenance {
                        $i = $smcount = 0;
 
                        $fns = $wgContLang->getFormattedNsText( $namespace );
-                       $this->output( "$namespace ($fns)" );
+                       $this->output( "$namespace ($fns)\n" );
                        foreach ( $res as $row ) {
                                if ( $i++ === 0 || $i === $this->url_limit + 1 || $length + $this->limit[1] + $this->limit[2] > $this->size_limit ) {
                                        if ( $this->file !== false ) {