Index: branches/wmf/1.18wmf1/maintenance/addwiki.php |
— | — | @@ -50,7 +50,7 @@ |
51 | 51 | public function execute() { |
52 | 52 | global $IP, $wgDefaultExternalStore, $wmfVersionNumber; |
53 | 53 | 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 ); |
55 | 55 | } |
56 | 56 | |
57 | 57 | $lang = $this->getArg( 0 ); |
— | — | @@ -150,7 +150,7 @@ |
151 | 151 | |
152 | 152 | # Add to wikiversions.dat |
153 | 153 | $file = fopen( "$common/wikiversions.dat", "a" ); |
154 | | - fwrite( $file, "$dbName php-$wgVersionNumber\n" ); |
| 154 | + fwrite( $file, "$dbName php-$wmfVersionNumber\n" ); |
155 | 155 | fclose( $file ); |
156 | 156 | # Rebuild wikiversions.cdb |
157 | 157 | shell_exec( "cd $common/multiversion && ./refreshWikiversionsCDB" ); |