From 50adaf75a77818011b6d6ed4055940e8c85c0be3 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 30 Jul 2008 14:09:02 +0000 Subject: [PATCH] I love case-sensitivity. Don't you? --- includes/parser/CoreParserFunctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 90a33c1e9f..37a18a2d61 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -121,9 +121,9 @@ class CoreParserFunctions { static function fullurl( $parser, $s = '', $arg = null ) { return self::urlFunction( 'getFullURL', $s, $arg ); } static function fullurle( $parser, $s = '', $arg = null ) { return self::urlFunction( 'escapeFullURL', $s, $arg ); } static function apiurl( $parser, $s = '', $arg = null ) { - global $wgEnableApi; + global $wgEnableAPI; # Don't bother linking to the API if they can't use it. - if ( $wgEnableApi === false ) { + if ( $wgEnableAPI === false ) { return array( 'found' => false ); } global $wgServer, $wgApiScript; -- 2.20.1