From: Niklas Laxström Date: Mon, 11 Jul 2011 18:05:32 +0000 (+0000) Subject: ping r91875 X-Git-Tag: 1.31.0-rc.0~28930 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=e7035be35f2c3e487df0cde3367fc229b8d795fd;p=lhc%2Fweb%2Fwiklou.git ping r91875 --- diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 72534583f4..3f95dd3e94 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -597,6 +597,13 @@ class CoreParserFunctions { return implode( $restrictions, ',' ); } + /** + * Gives language names. + * @param $parser Parser + * @param $code String Language code + * @param $language String Language code + * @return String + */ static function language( $parser, $code = '', $language = '' ) { global $wgContLang; $code = strtolower( $code );