r62128 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62127‎ | r62128 | r62129 >
Date:17:07, 8 February 2010
Author:dale
Status:deferred
Tags:
Comment:
* minor fix floor call in be language
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/includes/languages/classes/LanguageBe.js (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/includes/languages/classes/LanguageBe.js
@@ -19,7 +19,7 @@
2020 // http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
2121 forms = mw.lang.preConvertPlural( forms, 3 );
2222
23 - if (count > 10 && floor((count % 100) / 10) == 1) {
 23+ if (count > 10 && Math.floor((count % 100) / 10) == 1) {
2424 return forms[2];
2525 } else {
2626 switch (count % 10) {

Status & tagging log