Index: trunk/phase3/maintenance/Maintenance.php |
— | — | @@ -572,7 +572,7 @@ |
573 | 573 | * Do setup specific to WMF |
574 | 574 | */ |
575 | 575 | public function loadWikimediaSettings() { |
576 | | - global $IP, $wgNoDBParam, $wgUseNormalUser, $wgConf; |
| 576 | + global $IP, $wgNoDBParam, $wgUseNormalUser, $wgConf, $site, $lang; |
577 | 577 | |
578 | 578 | if ( empty( $wgNoDBParam ) ) { |
579 | 579 | # Check if we were passed a db name |
— | — | @@ -616,6 +616,8 @@ |
617 | 617 | if ( $lang == 'test' && $site == 'wikipedia' ) { |
618 | 618 | define( 'TESTWIKI', 1 ); |
619 | 619 | } |
| 620 | + |
| 621 | + $this->finalSetup(); |
620 | 622 | } |
621 | 623 | |
622 | 624 | /** |