Need to Set "$wgTranslateNumerals = false;" in LocalSettings.php of Assamese Wikipedia, http://as.wikipedia.org.
The following demonstrates the problem:
Latin Numerals: 0 1 2 3 4 5 6 7 8 9 Assamese Numerals: ০ ১ ২ ৩ ৪ ৫ ৬ ৭ ৮ ৯ (Bengali unicode)
Correct:
- {{#expr: 2 + 3}}: 5
- {{CURRENTYEAR}}: ২০১১
Error:
- {{#expr: ২ + ৩}}: এক্সপ্রেশন ত্রুটি: অপরিচিত বিরামচিহ্ন ক্যারেক্টার "�"
- {{#expr: 2 + ৩}}: এক্সপ্রেশন ত্রুটি: অপরিচিত বিরামচিহ্ন ক্যারেক্টার "�"
- {{#expr: {{CURRENTYEAR}} + 10}}: এক্সপ্রেশন ত্রুটি: অপরিচিত বিরামচিহ্ন ক্যারেক্টার "{"
Probable solutions:
- {{#expr: {{formatnum: {{CURRENTYEAR}}|R}} + 10}}: 2021
- Set "$wgTranslateNumerals = false;" in LocalSettings.php
The first solution is not acceptable since there are a lot of templates where functions like {{CURRENTYEAR}}, {{CURRENTDAY}} etc are used. So, we need to modify LocalSettings.php as shown above.
See templates like "Infobox Indian Jurisdiction", "Infobox Settlement" etc. You can also see how modification using "formatnum" works in the template "For year month day" in Assamese Wikipedia.
We have conducted a poll and the community agrees to this. See:
https://secure.wikimedia.org/wikipedia/as/wiki/Wikipedia:Community_Votes#Assamese_Vs_Latin_numerals_in_templates_using_parser_functions
Version: unspecified
Severity: major