r51247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51246‎ | r51247 | r51248 >
Date:17:17, 31 May 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Fix typo
Modified paths:
  • /trunk/extensions/Translate/scripts/mwcore-export.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/mwcore-export.php
@@ -40,7 +40,6 @@
4141 exit( 1 );
4242 }
4343
44 -
4544 if ( !isset( $options['type'] ) ) {
4645 STDERR( "Type must be one of the following: special magic namespace" );
4746 exit( 1 );
@@ -109,7 +108,7 @@
110109 if ( $count ) {
111110 file_put_contents( $outFile, $data );
112111 } else {
113 - STDERR( "Addind new entry to $outFile, please double check location", $l );
 112+ STDERR( "Adding new entry to $outFile, please double check location", $l );
114113 $pos = strpos( $data, "*/" );
115114 if ( $pos === false ) {
116115 STDERR( ". FAILED! Totally new file? No header?", $l );
@@ -122,8 +121,3 @@
123122 file_put_contents( $outFile, $data );
124123 }
125124 }
126 -
127 -
128 -
129 -
130 -

Status & tagging log