Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | // check variant links so that interwiki links don't have to worry |
114 | 114 | // about the possible different language variants |
115 | 115 | if( count( $wgContLang->getVariants() ) > 1 && !is_null( $ret ) && $ret->getArticleID() == 0 ) |
116 | | - $lang->findVariantLink( $title, $ret ); |
| 116 | + $wgContLang->findVariantLink( $title, $ret ); |
117 | 117 | |
118 | 118 | } |
119 | 119 | if ( ( $oldid = $wgRequest->getInt( 'oldid' ) ) |