https://bugzilla.wikimedia.org/show_bug.cgi?id=31371
Web browser: ---
Bug #: 31371
Summary: Assamese Vs Latin numerals in templates using parser
functions, Need to Set "$wgTranslateNumerals = false;"
in LocalSettings.php of Assamese Wikipedia,
http://as.wikipedia.org
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Internationalization
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
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:
1. {{#expr: {{formatnum: {{CURRENTYEAR}}|R}} + 10}}: 2021
2. 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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l