Lucas_Werkmeister_WMDE added a comment.
Apparently @cscott recently added toBcp47Code() <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Scribunto/+/983271>, but as a non-static instance method. I think the expensiveness argument from earlier needs to be reevaluated anyway, though, in light of T342418: Speed up Language creation <https://phabricator.wikimedia.org/T342418> – both creating a language and looking up its RTL flag should be fast now, as far as I’m aware. (But I don’t know if Scribunto was updated for that or if it still includes it in the expensive function count.) TASK DETAIL https://phabricator.wikimedia.org/T310581 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Izno, cscott, mxn, Zebulon84, Tacsipacsi, Lucas_Werkmeister_WMDE, Danny_Benjafield_WMDE, S8321414, mrephabricator, LennardHofmann, Astuthiodit_1, MaryMunyoki, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, srishakatux, KimKelting, LawExplorer, SundanceRaphael, _jensen, rosalieper, Scott_WUaS, Nikki, alex-mashin, Wikidata-bugs, aude, Dinoguy1000, jayvdb, MrStradivarius, Jackmcbarn, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
