Hi,
The importing of Lua modules across wikis is currently broken[1]. They
will appear without syntax highlighting and not work in {{#invoke}}'s.
I have a patch up for review to fix it, and hope to deploy it early next
week. In the meantime, I can fix individual modules using a server-side
script; find me on IRC (in #wikimedia-tech as "legoktm") or leave a note
on the Phabricator ticket.
[1] https://phabricator.wikimedia.org/T91170
Thanks,
-- Legoktm