r91892 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91891‎ | r91892 | r91893 >
Date:18:05, 11 July 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
ping r91875
Modified paths:
  • /trunk/phase3/includes/parser/CoreParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/CoreParserFunctions.php
@@ -597,6 +597,13 @@
598598 return implode( $restrictions, ',' );
599599 }
600600
 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+ */
601608 static function language( $parser, $code = '', $language = '' ) {
602609 global $wgContLang;
603610 $code = strtolower( $code );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91875* (bug 16699) {{#language:}} accepts second parameter to specify the language in...nikerabbit12:23, 11 July 2011

Status & tagging log