Index: trunk/extensions/CentralAuth/WikiMap.php |
— | — | @@ -15,11 +15,9 @@ |
16 | 16 | |
17 | 17 | list( $major, $minor ) = $wgConf->siteFromDB( $dbname ); |
18 | 18 | if( isset( $major ) ) { |
19 | | - $server = $wgConf->get( 'wgServer', $dbname, |
20 | | - null, |
| 19 | + $server = $wgConf->get( 'wgServer', $dbname, $major, |
21 | 20 | array( 'lang' => $minor, 'site' => $major ) ); |
22 | | - $path = $wgConf->get( 'wgArticlePath', $dbname, |
23 | | - null, |
| 21 | + $path = $wgConf->get( 'wgArticlePath', $dbname, $major, |
24 | 22 | array( 'lang' => $minor, 'site' => $major ) ); |
25 | 23 | return new WikiReference( $major, $minor, $server, $path ); |
26 | 24 | } else { |