Модуль:GetField: различия между версиями

мНет описания правки
мНет описания правки
Строка 1227: Строка 1227:
return count > 1
return count > 1
end
end
local firstParamOverride = mw.text.unstripNoWiki(args.first or args.firstParam or args.idKey or "")


local function makeCall(obj)
local function makeCall(obj)
Строка 1233: Строка 1235:
end
end


local idKey = choose_id_key(obj)
local idKey = firstParamOverride
if idKey == "" then
idKey = choose_id_key(obj)
end
if not idKey then
if not idKey then
return
return