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

мНет описания правки
Метка: ручная отмена
мНет описания правки
 
Строка 129: Строка 129:
                 local indent = mw.ustring.len(leading or "")
                 local indent = mw.ustring.len(leading or "")
                 local level = math.floor(indent / 2)
                 local level = math.floor(indent / 2)
                 local stars = string.rep('*', 1 + level)
                 local stars = string.rep('#', 1 + level)
                 processed = stars .. (rest ~= "" and (" " .. rest) or "")
                 processed = stars .. (rest ~= "" and (" " .. rest) or "")
                 table.insert(out_lines, processed)
                 table.insert(out_lines, processed)