r112992 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112991‎ | r112992 | r112993 >
Date:00:05, 5 March 2012
Author:reedy
Status:ok
Tags:
Comment:
Fix missing * from start of comment block

Also minor documentation update
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -678,8 +678,7 @@
679679 return self::fetchLanguageNames( $code, 'all' );
680680 }
681681
682 -
683 - /*
 682+ /**
684683 * Get an array of language names, indexed by code.
685684 * @param $inLanguage null|string: Code of language in which to return the names
686685 * Use null for autonyms (native names)
@@ -687,7 +686,7 @@
688687 * 'all' all available languages
689688 * 'mw' only if the language is defined in MediaWiki or wgExtraLanguageNames
690689 * 'mwfile' only if the language is in 'mw' *and* has a message file
691 - * @return array|false: language code => language name, false if $include is wrong
 690+ * @return array|bool: language code => language name, false if $include is wrong
692691 */
693692 public static function fetchLanguageNames( $inLanguage = null, $include = 'all' ) {
694693 global $wgExtraLanguageNames;

Sign-offs

UserFlagDate
Nikerabbitinspected07:37, 5 March 2012

Status & tagging log