Changes
Jump to navigation
Jump to search
Line 61:
Line 61:
− +
+
no edit summary
local langList = mw.language.getFallbacksFor(lang)
local langList = mw.language.getFallbacksFor(lang)
table.insert(langList, 1, lang)
table.insert(langList, 1, lang)
local langList = {"en"} + langList
-- CAN T GET THE FALLBACKCHAIN TO WORK RIGHT NOW
local langList = {"en"}
-- get label (visible part of the link)
-- get label (visible part of the link)
for _, language in ipairs(langList) do -- loop over language fallback list looking for label in the specific language
for _, language in ipairs(langList) do -- loop over language fallback list looking for label in the specific language