Merge "Fix various typos in documentation"

This commit is contained in:
jenkins-bot 2021-06-21 00:43:51 +00:00 committed by Gerrit Code Review
commit c8f699aca3
5 changed files with 6 additions and 6 deletions

View file

@ -3312,7 +3312,7 @@ class Language {
$minimumLength = $minimumGroupingDigits + $fmt->getAttribute( NumberFormatter::GROUPING_SIZE ); $minimumLength = $minimumGroupingDigits + $fmt->getAttribute( NumberFormatter::GROUPING_SIZE );
if ( $minimumGroupingDigits && !preg_match( '/^\-?\d{' . $minimumLength . '}/', $number ) ) { if ( $minimumGroupingDigits && !preg_match( '/^\-?\d{' . $minimumLength . '}/', $number ) ) {
// Even if number does not need commafy, do decimal // Even if number does not need commafy, do decimal
// separator tranformation. For example 1234.56 becoms // separator transformation. For example 1234.56 becomes
// 1234,56 in pl with $minimumGroupingDigits = 2 // 1234,56 in pl with $minimumGroupingDigits = 2
if ( !$noTranslate ) { if ( !$noTranslate ) {
$number = strtr( $number, $separatorTransformTable ?: [] ); $number = strtr( $number, $separatorTransformTable ?: [] );

View file

@ -231,7 +231,7 @@ class Names {
'kbd-cyrl' => 'Адыгэбзэ', # Kabardian (Cyrillic) 'kbd-cyrl' => 'Адыгэбзэ', # Kabardian (Cyrillic)
'kbp' => 'Kabɩyɛ', # Kabiyè 'kbp' => 'Kabɩyɛ', # Kabiyè
'kcg' => 'Tyap', # Tyap 'kcg' => 'Tyap', # Tyap
'kg' => 'Kongo', # Kongo, (FIXME!) should probaly be KiKongo or KiKoongo 'kg' => 'Kongo', # Kongo, (FIXME!) should probably be KiKongo or KiKoongo
'khw' => 'کھوار', # Khowar 'khw' => 'کھوار', # Khowar
'ki' => 'Gĩkũyũ', # Gikuyu 'ki' => 'Gĩkũyũ', # Gikuyu
'kiu' => 'Kırmancki', # Kirmanjki 'kiu' => 'Kırmancki', # Kirmanjki

View file

@ -4,7 +4,7 @@ unihan database, and phrases not included in the SCIM package.
- symme_supp.manual: Supplementary character mapping of symmetric conversion - symme_supp.manual: Supplementary character mapping of symmetric conversion
(1 to 1) between Simplified and Traditional Chinese. (1 to 1) between Simplified and Traditional Chinese.
- simp2trad.manual: Simplified to Traditional asymmetric charactermapping. - simp2trad.manual: Simplified to Traditional asymmetric character mapping.
- trad2simp.manual: Traditional to Simplified asymmetric character mapping. - trad2simp.manual: Traditional to Simplified asymmetric character mapping.

View file

@ -1405,7 +1405,7 @@ mw.jqueryMsg.HtmlEmitter.prototype = {
}, },
/** /**
* Tranform parsed structure into a int: (interface language) message include * Transform parsed structure into a int: (interface language) message include
* Invoked by putting `{{int:othermessage}}` into a message * Invoked by putting `{{int:othermessage}}` into a message
* *
* TODO Syntax in the included message is not parsed, this seems like a bug? * TODO Syntax in the included message is not parsed, this seems like a bug?

View file

@ -621,7 +621,7 @@ class LBFactoryTest extends MediaWikiIntegrationTestCase {
); );
$lb = $factory->getMainLB(); $lb = $factory->getMainLB();
// FIXME: this should probaly be lower (T235311) // FIXME: this should probably be lower (T235311)
$this->expectException( \Wikimedia\Rdbms\DBConnectionError::class ); $this->expectException( \Wikimedia\Rdbms\DBConnectionError::class );
if ( !$factory->getMainLB()->getServerAttributes( 0 )[Database::ATTR_DB_IS_FILE] ) { if ( !$factory->getMainLB()->getServerAttributes( 0 )[Database::ATTR_DB_IS_FILE] ) {
$this->markTestSkipped( "Not applicable per ATTR_DB_IS_FILE" ); $this->markTestSkipped( "Not applicable per ATTR_DB_IS_FILE" );
@ -646,7 +646,7 @@ class LBFactoryTest extends MediaWikiIntegrationTestCase {
); );
$lb = $factory->getMainLB(); $lb = $factory->getMainLB();
// FIXME: this should probaly be lower (T235311) // FIXME: this should probably be lower (T235311)
$this->expectException( \Wikimedia\Rdbms\DBExpectedError::class ); $this->expectException( \Wikimedia\Rdbms\DBExpectedError::class );
if ( !$lb->getConnection( DB_PRIMARY )->databasesAreIndependent() ) { if ( !$lb->getConnection( DB_PRIMARY )->databasesAreIndependent() ) {
$this->markTestSkipped( "Not applicable per databasesAreIndependent()" ); $this->markTestSkipped( "Not applicable per databasesAreIndependent()" );