From 0ee9a04366b22971725e45af9abd6b28827880dc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 27 Apr 2005 20:19:35 +0000 Subject: [PATCH] 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 --- includes/Parser.php | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.20.1