ব্যবহারকারী:Johnuniq/adjust
This is an experiment for Aftab1995 per request at en:Wikipedia:Lua requests (permalink) in February 2014.
- Template:এর (previous name:Adjust) • Template that invokes the module.
- Module:এর (previous name:Adjust)• Module to adjust text.
I have created the module as a start, but I do not think it is working correctly at the moment. The results table below needs to be edited as a first step. Johnuniq (আলাপ) ০৩:১৯, ১৭ ফেব্রুয়ারি ২০১৪ (ইউটিসি)
Results সম্পাদনা
- The "Should be" column needs to be edited to show the correct output that is wanted from the template.
- There should be some more rows added to show more tests.
Text | Should be | {{এর|Text}} | Status |
---|---|---|---|
abc | abc | abc | correct |
বাংলাদেশ | বাংলাদেশের | বাংলাদেশের | |
অস্ট্রেলিয়া | অস্ট্রেলিয়ার | অস্ট্রেলিয়ার | |
দুবাই | দুবাইয়ের | দুবাইয়ের | |
দল | দলের | দলের | |
আফ্রিকা | আফ্রিকার | আফ্রিকার | |
উইকিপিডিয়া | উইকিপিডিয়ার | উইকিপিডিয়ার | |
ক | কের | কের | |
এটি | এটির | এটির | |
য | যের | যের | |
য় | য়ের | য়ের | |
ভট্টাচার্য | ভট্টাচার্যের | ভট্টাচার্যের | |
কান্ত | কান্তের | কান্তের |
- Module gives correct result and everything is OK :) --Aftab1995 (আলাপ) ১৮:২২, ১৭ ফেব্রুয়ারি ২০১৪ (ইউটিসি)
- Good! I don't know how that space got into many of the characters. I checked a hex dump of the file on my computer, and it shows that there is a space, but my editor and browser seem to think the whole thing is a single character. Anyway, you fixed that, so that's good.
- One day I will return and try to update the convert modules because a lot of changes have occurred and it would be better to keep each wiki reasonably up to date. I'll be needing you to do more translations when that occurs! That will not be soon. Johnuniq (আলাপ) ০১:২৩, ১৮ ফেব্রুয়ারি ২০১৪ (ইউটিসি)
- Hi @Johnuniq: Do you remember about this module:এর? You don't know how much you helped by creating this module. Currently 68K pages use this module (where we have only 53K articles).
- Currently we use this module by calling Template:এর (e.g. {{এর|input}}). Sometimes it is need to use in other modules. But currently it is not possible because of code. Could you please add code to the module for make it callable from another module? আফতাব (আলাপ) ২০:৪৪, ৫ নভেম্বর ২০১৭ (ইউটিসি)