From: Brion Vibber Date: Wed, 27 Apr 2005 20:19:35 +0000 (+0000) Subject: Missing global declaration. X-Git-Tag: 1.5.0alpha1~107 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=0ee9a04366b22971725e45af9abd6b28827880dc;p=lhc%2Fweb%2Fwiklou.git Missing global declaration. [27-Apr-2005 13:16:58] PHP Notice: Undefined variable: wgContLang in /var/www/testwiki/includes/Parser.php on line 1027 [27-Apr-2005 13:16:58] PHP Fatal error: Call to a member function markNoConversion() on a non-object in /var/www/testwiki/includes/Parser.php on line 1027 --- diff --git a/includes/Parser.php b/includes/Parser.php index 75810d59bb..3cba2393aa 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -971,6 +971,7 @@ class Parser * @access private */ function replaceExternalLinks( $text ) { + global $wgContLang; $fname = 'Parser::replaceExternalLinks'; wfProfileIn( $fname );