/**
* @param string $s
* @return string
+ * @throws MWException
*/
function checkTitleEncoding( $s ) {
if ( is_array( $s ) ) {
* Normally we output all numbers in plain en_US style, that is
* 293,291.235 for twohundredninetythreethousand-twohundredninetyone
* point twohundredthirtyfive. However this is not suitable for all
- * languages, some such as Punjabi want ੨੯੩,੨੯੫.੨੩੫ and others such as
+ * languages, some such as Bengali (bn) want ২,৯৩,২৯১.২৩৫ and others such as
* Icelandic just want to use commas instead of dots, and dots instead
* of commas like "293.291,235".
*
* 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 );
/**
* @param string $code
* @return string
+ * @throws MWException
* @since 1.23
*/
public static function getJsonMessagesFileName( $code ) {
* @return array Array of message keys (strings)
*/
public static function getMessageKeysFor( $code ) {
- return self::getLocalisationCache()->getSubItemList( $code, 'messages' );
+ return self::getLocalisationCache()->getSubitemList( $code, 'messages' );
}
/**
* @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
*/