45,638
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local require = require | |||
local m_str_utils = require("Module:string utilities") | |||
local m_table = require("Module:table") | |||
local mw = mw | |||
local string = string | |||
local table = table | |||
local ustring = mw.ustring | |||
local char = string.char | |||
local check_object = require("Module:utilities").check_object | |||
local concat = table.concat | |||
local decode_entities = m_str_utils.decode_entities | |||
local decode_uri = m_str_utils.decode_uri | |||
local find = string.find | |||
local floor = math.floor | |||
local gmatch = string.gmatch | |||
local gsub = string.gsub | |||
local insert = table.insert | |||
local ipairs = ipairs | |||
local list_to_set = m_table.listToSet | |||
local load_data = mw.loadData | |||
local match = string.match | |||
local next = next | |||
local pairs = pairs | |||
local remove = table.remove | |||
local remove_duplicates = m_table.removeDuplicates | |||
local select = select | |||
local setmetatable = setmetatable | |||
local shallowcopy = m_table.shallowcopy | |||
local split = m_str_utils.split | |||
local sub = string.sub | |||
local type = type | |||
local ugsub = ustring.gsub | |||
local ulen = m_str_utils.len | |||
local ulower = m_str_utils.lower | |||
local umatch = ustring.match | |||
local uupper = m_str_utils.upper | |||
local export = {} | local export = {} | ||
Line 21: | Line 60: | ||
(indicating a missing code). If `not_real_lang` is given, this check is suppressed. | (indicating a missing code). If `not_real_lang` is given, this check is suppressed. | ||
]=] | ]=] | ||
function export.err(lang_code, param, code_desc, template_tag, not_real_lang) | function export.err(lang_code, param, code_desc, template_tag, not_real_lang) |