মডিউল আলাপ:ট্র্যাক তালিকায়ন

পাতাটির বিষয়বস্তু অন্যান্য ভাষায় নেই।
উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
নং.শিরোনামগীতিকারদৈর্ঘ্য
১."test"test
২."tes2" ৫০০০
৩."test" ১৫২working

@Johnuniq: Hi, sorry for disturbing. I have question. Here in this module, i'm trying to convert those 1. 2. 3. (see above, first column) using মডিউল:Numeral converter/খেলাঘর, why it's not working? (not working for automatic counting :wikitext( convert('bn', self.number) .. '.') but working for length parameter :wikitext(convert('bn', self.length) or ' ') see above, under দৈর্ঘ্য) but when i use মডিউল:Numeral converter (code from fawiki) it's work both. if possible can you fix মডিউল:Numeral converter/খেলাঘর? --আফতাব (আলাপ) ০২:৪২, ১৭ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]

I'm glad to help but I need to be told what should be displayed, and what is actually displayed. You are familiar with the problem you are solving but I have no idea what should be above, and I've never encountered this module. I had a very quick look at the module and noticed
    if minutes and minutes:find('^[0০]%d$') then
I can't see how that would be relevant to what you describe but the above regular expression would require mw.ustring.find. The regex does not make sense to me because it is looking for en digits (as it appears in the module now), so why stick a bn zero in there? At any rate, please spell out what I should see in the above. Johnuniq (আলাপ) ০৬:৫৫, ১৭ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]
@Aftabuzzaman: I had better ping you. Johnuniq (আলাপ) ০৭:০০, ১৭ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]
@Johnuniq: see here for first problem. And you are right about "if minutes and minutes:find('^[0০]%d$') then" but i don't know how to fix this or others to looking for bn digits. Category:Track listings with input errors --আফতাব (আলাপ) ১৪:৪১, ১৭ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]

I might need a bit of time but I will find out what's going on.

Johnuniq (আলাপ) ০৪:১৮, ১৮ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]

That was simple, but tricky to find due to the sophisticated module. I'll look more at what the module is doing in due course but meanwhile please ping me if you have another simple "this input gives output xyz but it should abc" situation. Johnuniq (আলাপ) ০৪:৩৪, ১৮ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]
@Aftabuzzaman: Thank you. one last thing: Currently if there is bn digit e.g.
{{track listing
...
| length1 = ৫:৬০
...
}}

module automatically adds Category:Track listings with input errors (if en digit then module adds no category). so, i made this edit, is this edit correct? --আফতাব (আলাপ) ১৭:২৫, ১৮ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]

@Aftabuzzaman: I fixed some issues in the module which involved doing something similar to what you did in your diff. I changed the translation code because I could not see the point of what it was doing. Please give it a thorough check and see if it works with en input and with bn input. See my edits at ২৪ (২০১৬-এর চলচ্চিত্র) where I removed some leading zeroes. The validation code rejects them. If wanted, I could disable the check for leading zeroes if they are considered ok here. Let me know if any problems. Johnuniq (আলাপ) ০৯:৩৫, ১৯ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]
I added a way to display warnings. If purging an article in the tracking category leaves the article in the category, you could search for each
{{track listing
and replace it with
{{track listing|warn=y
then preview the article. It will show big red error messages describing the problems. Johnuniq (আলাপ) ০৯:৫০, ১৯ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]
@Johnuniq: Thanks. everything is working & i can fix those leading zero by going to through all pages. --আফতাব (আলাপ) ১৬:৫৩, ১৯ ফেব্রুয়ারি ২০১৮ (ইউটিসি)[উত্তর দিন]