Page MenuHomePhabricator

Devanagari numbers as input in templates
Open, Needs TriagePublic

Description

Problem

When we use temples in Wikipedia, can use Devanagari as input. like - https://hi.wikipedia.org/w/index.php?title=विनायक_दामोदर_सावरकर&action=edit

{{death date and age|1966|2|26|1883|5|28}} this can't be worked like this
{{death date and age|१९६६|२|२६|१८८३|५|२८}}

Who would benefit

All Indic Languages will be benefited. Because most of have these Devanagari numbers or similar numbers. And All those Wikipedias in which number system is not 1234567890. Like १२३४५६७८९० or ૧૨૩૪૫૬૭૮૯ or ১২৩৪৫৬৭৮৯০ or ୧୨୩୪୫୬୭୮୯୦ or ੧੨੩੪੫੬੭੮੯੦

Proposed solution

I don't know, but If we can make different template or something for this. All Indiac Languages can use it.

Community Discussion

Community Discussion is here:
https://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9A%E0%A5%8C%E0%A4%AA%E0%A4%BE%E0%A4%B2#.E0.A4.A6.E0.A5.87.E0.A4.B5.E0.A4.A8.E0.A4.BE.E0.A4.97.E0.A4.B0.E0.A5.80_.E0.A4.85.E0.A4.82.E0.A4.95

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 21 2017, 12:36 PM
Ladsgroup added a subscriber: Ladsgroup.EditedJan 21 2017, 12:39 PM

I don't think this would be related, it's probably Community wishlist not developer wishlist. Regarding changing digits to local language and vice versa, in Persian Wikipedia, we use {{formatnum:۱۲۳۴|R}} (outputs 1234) and {{formatnum:1234}} (outputs ۱۲۳۴). See the exact template in Persian Wikipedia.

NehalDaveND updated the task description. (Show Details)Jan 21 2017, 12:41 PM

@Ladsgroup So how we can do this?

Isn't this a duplicate of T36193?

This task is too specific but yeah, I think it can be merged. The upstream task sounds like a good candidate for Developer-Wishlist

Please merged because I didn't know. But Please do something for this after 7 years this problem is remained.

@NehalDaveND: Every year there is a Community Wishlist survey in which you can propose tasks (see the 2016 edition) if you'd like to get problems solved. Or you could contribute patches yourself.

@NehalDaveND: Every year there is a Community Wishlist survey in which you can propose tasks (see the 2016 edition) if you'd like to get problems solved. Or you could contribute patches yourself.

Thank you for this message. I mostly contribute in Sanskrit Wikipedia so I didn't realize this problem earlier. In this month I went to Hindi Wikipedia's Program and I get involve into community talk. So I understood this problem. I thought this is a new bug but a use sent a link to me which bug created in 2012. So I requested to developers for now in 2017 wishlist I will put this on behalf of Indic Languages.

I am not technical person. I can do translation and language related work. But in Sanskrit Wikipedia no one active for technical work, I am spending time for this. I also apply for TTT WMT Program 2017 but less of technical knowledge they might not allow me to join the program. But I will try all the ways for Sanskrit Wikipedia. https://meta.wikimedia.org/wiki/CIS-A2K/Events/MediaWiki_Training/2017

There really isn't any such need for this, at least for Hindi Wiki. The Bhojpuri and Punjabi Wikipedias also seem to be using Arabic numerals (1, 2, 3...) at default. Perhaps this feature is needed for Sanskrit and the Eastern Nagari-based Wikipedias, but my knowledge is limited in that context.

Modern Hindi publications have LONG moved on to use the international Arabic numerals with the Devanagari numerals remaining largely obsolete and archaic.

https://hi.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9A%E0%A5%8C%E0%A4%AA%E0%A4%BE%E0%A4%B2&curid=1001&diff=3599385&oldid=3599290

Here I have provided several links to Hindi-language sites such as the Indian Government's official website, the World Hindi Secretariat, various educational documents, textbooks and by-laws and popular online Hindi news websites - ALL of which are using Arabic numerals.

There really isn't any such need for this, at least for Hindi Wiki. The Bhojpuri and Punjabi Wikipedias also seem to be using Arabic numerals (1, 2, 3...) at default. Perhaps this feature is needed for Sanskrit and the Eastern Nagari-based Wikipedias, but my knowledge is limited in that context.

Modern Hindi publications have LONG moved on to use the international Arabic numerals with the Devanagari numerals remaining largely obsolete and archaic.

https://hi.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9A%E0%A5%8C%E0%A4%AA%E0%A4%BE%E0%A4%B2&curid=1001&diff=3599385&oldid=3599290

Here I have provided several links to Hindi-language sites such as the Indian Government's official website, the World Hindi Secretariat, various educational documents, textbooks and by-laws and popular online Hindi news websites - ALL of which are using Arabic numerals.

So You Want to tell us that Indian Government will decide numerical System on Wiki. Ex. Pali Language is about to die. There is few native of this language. But Wikimedia is not closing Pali Wikipedia. So I repeat that Here only matters community consensus, not personal opinion. Please Don't add the third party (Such Indian Government or Hindi news websites).

@Jayprakash12345: As far as I understand, SalmaMahmoud commented on Devanagari numbers in Hindi language but not about Pali language. In any case, there is no reason for phrases and personal accusations like "So you want to tell us...". Please read and follow our etiquette and criticize ideas, not people.

@Jayprakash12345: As far as I understand, SalmaMahmoud commented on Devanagari numbers in Hindi language but not about Pali language. In any case, there is no reason for phrases and personal accusations like "So you want to tell us...". Please read and follow our etiquette and criticize ideas, not people.

@Aklapper Thank you Sir, I did not see this before. This link is very helpful. SalmaMahmoud already oppose commented on Local Village Pump. So repetition on Phab is Not Good. And she is adding Third Party (Hindi news websites). So can you tell us that Third party is allowed or not?

Aklapper added a comment.EditedOct 18 2017, 9:49 AM

I do not know which of the Indic languages have standardization bodies/entities which define the level of support received by any scripts used to write the language.

There really isn't any such need for this, at least for Hindi Wiki. The Bhojpuri and Punjabi Wikipedias also seem to be using Arabic numerals (1, 2, 3...) at default. Perhaps this feature is needed for Sanskrit and the Eastern Nagari-based Wikipedias, but my knowledge is limited in that context.

Modern Hindi publications have LONG moved on to use the international Arabic numerals with the Devanagari numerals remaining largely obsolete and archaic.

https://hi.wikipedia.org/w/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9A%E0%A5%8C%E0%A4%AA%E0%A4%BE%E0%A4%B2&curid=1001&diff=3599385&oldid=3599290

Here I have provided several links to Hindi-language sites such as the Indian Government's official website, the World Hindi Secretariat, various educational documents, textbooks and by-laws and popular online Hindi news websites - ALL of which are using Arabic numerals.

So You Want to tell us that Indian Government will decide numerical System on Wiki. Ex. Pali Language is about to die. There is few native of this language. But Wikimedia is not closing Pali Wikipedia. So I repeat that Here only matters community consensus, not personal opinion. Please Don't add the third party (Such Indian Government or Hindi news websites).

No, I'm not saying anything of the sort. What I am saying is that modern widespread third-party Hindi-language sources, of which the Indian Government is but one, should determine the numerical System on Wiki.

Interestingly this language doesn't have their digits support in formatnum parser function (so {{formatnum:123456789|NOSEP}} in Persian Wikipedia outputs ۱۲۳۴۵۶۷۸۹ but in Hindi Wikipedia returns 123456789 instead of the Devanagari ones)