X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcollation%2FNumericUppercaseCollation.php;h=d2496402fdaa194ad831c122244546e3528af08f;hb=73380233aab4e2009acdbaa8d6ac928c499408af;hp=da78a051430059ff44c0bb69d51f014e1437a731;hpb=237d3271fd313ebe09858a5c442a91216a7b61cf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/collation/NumericUppercaseCollation.php b/includes/collation/NumericUppercaseCollation.php index da78a05143..d2496402fd 100644 --- a/includes/collation/NumericUppercaseCollation.php +++ b/includes/collation/NumericUppercaseCollation.php @@ -25,7 +25,7 @@ * or pretty-formatted numbers may be unexpected. * * Digits will be based on the wiki's content language settings. If - * you change the content langauge of a wiki you will need to run + * you change the content language of a wiki you will need to run * updateCollation.php --force. Only English (ASCII 0-9) and the * localized version will be counted. Localized digits from other languages * or weird unicode digit equivalents (e.g. 4, 𝟜, ⓸ , ⁴, etc) will not count. @@ -35,7 +35,7 @@ class NumericUppercaseCollation extends UppercaseCollation { /** - * @var $digitTransformLang Language How to convert digits (usually $wgContLang) + * @var $digitTransformLang Language How to convert digits (usually the content language) */ private $digitTransformLang; @@ -43,7 +43,7 @@ class NumericUppercaseCollation extends UppercaseCollation { * @param Language $lang How to convert digits. * For example, if given language "my" than ၇ is treated like 7. * - * It is expected that usually this is given $wgContLang. + * It is expected that usually this is given the content language. */ public function __construct( Language $lang ) { $this->digitTransformLang = $lang;