From: Siebrand Mazeland Date: Tue, 8 Mar 2016 22:27:14 +0000 (+0100) Subject: Update and correct documentation in Language class X-Git-Tag: 1.31.0-rc.0~7650 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=b98dc6ced8882ca35dad92ef07afae9dbb051ee2;p=lhc%2Fweb%2Fwiklou.git Update and correct documentation in Language class Change-Id: I1d530bded0da7133f9b5120b515f32fc87507c84 --- diff --git a/languages/Language.php b/languages/Language.php index 5855ddf61f..6f404dde3f 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2844,6 +2844,7 @@ class Language { /** * @param string $s * @return string + * @throws MWException */ function checkTitleEncoding( $s ) { if ( is_array( $s ) ) { @@ -4183,7 +4184,7 @@ class Language { * Refresh the cache of conversion tables when * MediaWiki:Conversiontable* is updated. * - * @param Title $titleobj The Title of the page being updated + * @param Title $title The Title of the page being updated */ public function updateConversionTable( Title $title ) { $this->mConverter->updateConversionTable( $title ); @@ -4355,6 +4356,7 @@ class Language { /** * @param string $code * @return string + * @throws MWException * @since 1.23 */ public static function getJsonMessagesFileName( $code ) { @@ -4520,7 +4522,7 @@ class Language { * @param string $expiry Database expiry String * @param bool|int $format True to process using language functions, or TS_ constant * to return the expiry in a given timestamp - * @param string $inifinity If $format is not true, use this string for infinite expiry + * @param string $infinity If $format is not true, use this string for infinite expiry * @return string * @since 1.18 */