r24592 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24591‎ | r24592 | r24593 >
Date:17:19, 4 August 2007
Author:brion
Status:old
Tags:
Comment:
fix for non-local server settings
Modified paths:
  • /trunk/extensions/CentralAuth/WikiMap.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/WikiMap.php
@@ -15,11 +15,9 @@
1616
1717 list( $major, $minor ) = $wgConf->siteFromDB( $dbname );
1818 if( isset( $major ) ) {
19 - $server = $wgConf->get( 'wgServer', $dbname,
20 - null,
 19+ $server = $wgConf->get( 'wgServer', $dbname, $major,
2120 array( 'lang' => $minor, 'site' => $major ) );
22 - $path = $wgConf->get( 'wgArticlePath', $dbname,
23 - null,
 21+ $path = $wgConf->get( 'wgArticlePath', $dbname, $major,
2422 array( 'lang' => $minor, 'site' => $major ) );
2523 return new WikiReference( $major, $minor, $server, $path );
2624 } else {

Status & tagging log