Not sure what this is, but it's working. Tim live hack.
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 26 Jun 2005 18:48:34 +0000 (18:48 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 26 Jun 2005 18:48:34 +0000 (18:48 +0000)
maintenance/commandLine.inc

index 69f5aa6..f2b69cb 100644 (file)
@@ -92,7 +92,7 @@ if ( file_exists( '/home/wikipedia/common/langlist' ) ) {
        if ( empty( $wgNoDBParam ) ) {
                # Check if we were passed a db name
                $db = array_shift( $args );
-               list( $site, $lang ) = $conf->siteFromDB( $db );
+               list( $site, $lang ) = $wgConf->siteFromDB( $db );
 
                # If not, work out the language and site the old way
                if ( is_null( $site ) || is_null( $lang ) ) {