Difference between revisions 18626577 and 18626578 on frwiktionarylocal m_languages = mw.loadData("Module:languages/alldata")
local export = {}
-- Detect the script based on the first alphabetical characters of a string
function export.detect_script(text, lang)
local m_scripts = mw.loadData("Module:scripts")
local langinfo = m_languages[lang] or error("The language code \"" .. lang .. "\" is not valid.")
(contracted; show full) i = i + 1
cat = args[i]
end
return export.format_categories(categories, lang, sort_key)
end
return export
This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|