r99243 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99242‎ | r99243 | r99244 >
Date:19:28, 7 October 2011
Author:aaron
Status:ok
Tags:
Comment:
FU r99238: fixed other instaces of this var
Modified paths:
  • /branches/wmf/1.18wmf1/maintenance/addwiki.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/maintenance/addwiki.php
@@ -50,7 +50,7 @@
5151 public function execute() {
5252 global $IP, $wgDefaultExternalStore, $wmfVersionNumber;
5353 if ( !$wmfVersionNumber ) { // set in CommonSettings.php
54 - $this->error( '$wgVersionNumber is not set, please use MWScript.php wrapper.', true );
 54+ $this->error( '$wmfVersionNumber is not set, please use MWScript.php wrapper.', true );
5555 }
5656
5757 $lang = $this->getArg( 0 );
@@ -150,7 +150,7 @@
151151
152152 # Add to wikiversions.dat
153153 $file = fopen( "$common/wikiversions.dat", "a" );
154 - fwrite( $file, "$dbName php-$wgVersionNumber\n" );
 154+ fwrite( $file, "$dbName php-$wmfVersionNumber\n" );
155155 fclose( $file );
156156 # Rebuild wikiversions.cdb
157157 shell_exec( "cd $common/multiversion && ./refreshWikiversionsCDB" );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99238Change in version variable name didn't get backported here. Fixed.aaron19:16, 7 October 2011

Status & tagging log