ব্যবহারকারী আলাপ:Krinkle
আলোচনা যোগ করুনসাম্প্রতিক মন্তব্য: আফতাবুজ্জামান কর্তৃক ৩ বছর পূর্বে "মিডিয়াউইকি:Gadget-Twinkle.js" অনুচ্ছেদে
Hi Krinkle, after your recent edit on মিডিয়াউইকি:Gadget-Twinkle.js, i'm getting a "cannot parse twinkleoptions.js" message everytime i load a page. From বিশেষ:পছন্দসমূহ#mw-prefsection-gadgets, enable "টুইংকল : ধ্বংসপ্রবণতা রোধ, সতর্কতা জানানো, অপসারণের অনুরোধ, ব্যবহারকারীদের স্বাগত জানানো ও নিবন্ধে ট্যাগ যোগ করার মত কিছু সাধারণ কাজ সহজ করে" and you will see. Could you please take a look. --আফতাবুজ্জামান (আলাপ) ২০:১৮, ২৪ অক্টোবর ২০২০ (ইউটিসি)
- @আফতাবুজ্জামান: Hi, I have reverted my edit. Can you confirm if it makes a difference? I did not see the message when I enable the gadget. The message is about a problem in ব্যবহারকারী:আফতাবুজ্জামান/twinkleoptions.js, which does not apply when I use the gadget. My edit changes the source code from the deprecated
$.parseJSON
toJSON.parse
. The parseJSON function will be removed in the future. It is identical to JSON.parse. --Krinkle (আলাপ) ২২:০৫, ২৪ অক্টোবর ২০২০ (ইউটিসি)- Thanks, It's gone now. Any suggestion how to fix it? We use very old code of twinkle, ব্যবহারকারী:আফতাবুজ্জামান/twinkleoptions.js was generated by the gadget. I tried to add <nowiki> but same problem. If you compare ব্যবহারকারী:আফতাবুজ্জামান/twinkleoptions.js with e.g. en:User:Amorymeltzer/twinkleoptions.js, everything looks same. The problem must be in the মিডিয়াউইকি:Gadget-Twinkle.js. --আফতাবুজ্জামান (আলাপ) ০০:০৩, ২৫ অক্টোবর ২০২০ (ইউটিসি)
- Interesting, I am happy that it is solved, but that is a most mysterious issue! I might be able to investigate it tomorrow. Maybe it is better worth the effort to update to a newer version of Twinkle, as the maintainers of Twinkle have already solved this deprecation in the latest version. Let me know if you have any question. --Krinkle (আলাপ) ০০:৩৬, ২৫ অক্টোবর ২০২০ (ইউটিসি)
- Ok, see what you can do. And ya, we should, many thing stopped working here. But localization isn't easy for twinkle. As my understand of JS is very very poor, i would prefer something like ব্যবহারকারী:আফতাবুজ্জামান/Gadget-popups-translation.js. I just hope this gets funded. --আফতাবুজ্জামান (আলাপ) ০০:৫৭, ২৫ অক্টোবর ২০২০ (ইউটিসি)