Index: branches/wmf/1.18wmf1/maintenance/addwiki.php |
— | — | @@ -48,8 +48,8 @@ |
49 | 49 | } |
50 | 50 | |
51 | 51 | public function execute() { |
52 | | - global $IP, $wgDefaultExternalStore, $wgVersionNumber; |
53 | | - if ( !$wgVersionNumber ) { // set in CommonSettings.php |
| 52 | + global $IP, $wgDefaultExternalStore, $wmfVersionNumber; |
| 53 | + if ( !$wmfVersionNumber ) { // set in CommonSettings.php |
54 | 54 | $this->error( '$wgVersionNumber is not set, please use MWScript.php wrapper.', true ); |
55 | 55 | } |
56 | 56 | |