Index: branches/fundraising/vendors/mediawiki/current/languages/Language.php |
— | — | @@ -250,6 +250,9 @@ |
251 | 251 | return User::getDefaultOptions(); |
252 | 252 | } |
253 | 253 | |
| 254 | + /** |
| 255 | + * Get the fallback for the current language |
| 256 | + */ |
254 | 257 | function getFallbackLanguageCode() { |
255 | 258 | if ( $this->mCode === 'en' ) { |
256 | 259 | return false; |
— | — | @@ -2841,6 +2844,7 @@ |
2842 | 2845 | |
2843 | 2846 | /** |
2844 | 2847 | * Get the fallback for a given language |
| 2848 | + * @param string $code The language that you want a fallback language for (ISO 639 code) |
2845 | 2849 | */ |
2846 | 2850 | static function getFallbackFor( $code ) { |
2847 | 2851 | if ( $code === 'en' ) { |