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

Нет описания правки
Нет описания правки
Строка 1317: Строка 1317:


local bullet = mw.text.unstripNoWiki(args.prefix or "* ")
local bullet = mw.text.unstripNoWiki(args.prefix or "* ")
local sep
local sep = mw.text.unstripNoWiki(args.sep or ": ")
 
if outputType == "revertList" then
sep = mw.text.unstripNoWiki(args.sep or "")
else
sep = mw.text.unstripNoWiki(args.sep or ": ")
end


if outputType == "none" then
if outputType == "none" then
bullet = ""
bullet = ""
sep = ""
sep = ""
elseif outputType == "revertList" then
sep = mw.text.unstripNoWiki(args.sep or "")
end
end