Index: trunk/phase3/includes/parser/CoreParserFunctions.php |
— | — | @@ -597,6 +597,13 @@ |
598 | 598 | return implode( $restrictions, ',' ); |
599 | 599 | } |
600 | 600 | |
| 601 | + /** |
| 602 | + * Gives language names. |
| 603 | + * @param $parser Parser |
| 604 | + * @param $code String Language code |
| 605 | + * @param $language String Language code |
| 606 | + * @return String |
| 607 | + */ |
601 | 608 | static function language( $parser, $code = '', $language = '' ) { |
602 | 609 | global $wgContLang; |
603 | 610 | $code = strtolower( $code ); |