r102462 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102461‎ | r102462 | r102463 >
Date:23:10, 8 November 2011
Author:kaldari
Status:deferred
Tags:
Comment:
adding some comments
Modified paths:
  • /branches/fundraising/vendors/mediawiki/current/languages/Language.php (modified) (history)

Diff [purge]

Index: branches/fundraising/vendors/mediawiki/current/languages/Language.php
@@ -250,6 +250,9 @@
251251 return User::getDefaultOptions();
252252 }
253253
 254+ /**
 255+ * Get the fallback for the current language
 256+ */
254257 function getFallbackLanguageCode() {
255258 if ( $this->mCode === 'en' ) {
256259 return false;
@@ -2841,6 +2844,7 @@
28422845
28432846 /**
28442847 * Get the fallback for a given language
 2848+ * @param string $code The language that you want a fallback language for (ISO 639 code)
28452849 */
28462850 static function getFallbackFor( $code ) {
28472851 if ( $code === 'en' ) {

Status & tagging log