**What happened?**:
when typing arabic numbers two problems can be noticed.
== first, a normal empty page, number becomes 000'06 instead of 60'000 ==
when typing as you write, from right to left, numbers are printed the wrong way, no matter if arabic thousands separator, U+066C), is used or not.
steps to reproduce:
1. go to arabic wikipedia, create an empty page
2. use google translate to translate a sentence into arabic, incouding a number
3. paste it into the empty page. play with the number.
== second, in templates, number becomes 000'60 ==
second, a template, e.g. on https://ur.wikipedia.org/w/index.php?title=%D8%A7%D8%AA%D8%AD%D8%A7%D8%AF_%DA%A9%D9%84%D8%A8_(%D8%AC%D8%AF%DB%81)&action=edit
typing 60'000 with quote becomes 000'60. typing 60'000 with arabic thousands separator is correct: 60'000. see attached screenshots. typing it from right to left does not work, for both numbers and text.
https://www.compart.com/en/unicode/U+066C#:~:text=%E2%80%9C%D9%AC%E2%80%9D%20U%2B066C%20Arabic%20Thousands%20Separator%20Unicode%20Character
steps to reproduce:
1. open url https://ur.wikipedia.org/w/index.php?title=%D8%A7%D8%AA%D8%AD%D8%A7%D8%AF_%DA%A9%D9%84%D8%A8_(%D8%AC%D8%AF%DB%81)&action=edit
2. search for number with thousands, insert the different formats with different thousands separators.
3. exit template edit and see error, do not save the page.
**What should have happened instead?**:
in all cases the number should be 60'000.