r82115 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82114‎ | r82115 | r82116 >
Date:17:01, 14 February 2011
Author:demon
Status:ok
Tags:
Comment:
Add some newlines to generateSitemap output, bug 26134
Modified paths:
  • /trunk/phase3/maintenance/generateSitemap.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/generateSitemap.php
@@ -271,7 +271,7 @@
272272 $i = $smcount = 0;
273273
274274 $fns = $wgContLang->getFormattedNsText( $namespace );
275 - $this->output( "$namespace ($fns)" );
 275+ $this->output( "$namespace ($fns)\n" );
276276 foreach ( $res as $row ) {
277277 if ( $i++ === 0 || $i === $this->url_limit + 1 || $length + $this->limit[1] + $this->limit[2] > $this->size_limit ) {
278278 if ( $this->file !== false ) {

Status & tagging log