missed one
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 26 Mar 2008 18:57:37 +0000 (18:57 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 26 Mar 2008 18:57:37 +0000 (18:57 +0000)
includes/Wiki.php

index 44c9358..33fc83b 100644 (file)
@@ -112,7 +112,7 @@ class MediaWiki {
                        // check variant links so that interwiki links don't have to worry
                        // about the possible different language variants
                        if( count( $wgContLang->getVariants() ) > 1 && !is_null( $ret ) && $ret->getArticleID() == 0 )
-                               $lang->findVariantLink( $title, $ret );
+                               $wgContLang->findVariantLink( $title, $ret );
 
                }
                if ( ( $oldid = $wgRequest->getInt( 'oldid' ) )