From: Chad Horohoe Date: Wed, 30 Jul 2008 14:09:02 +0000 (+0000) Subject: I love case-sensitivity. Don't you? X-Git-Tag: 1.31.0-rc.0~46274 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=50adaf75a77818011b6d6ed4055940e8c85c0be3;p=lhc%2Fweb%2Fwiklou.git I love case-sensitivity. Don't you? --- 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;