Изменения
Перейти к навигации
Перейти к поиску
Строка 339:
Строка 339:
− +
исправление проверки на цветовой контраст
for key, style in pairs(args) do
for key, style in pairs(args) do
if tostring(key):match("style$") then
if tostring(key):match("style$") or tostring(key):match("^стиль") then
if styleratio{mw.text.unstripNoWiki(style)} < 4.5 then
if styleratio{mw.text.unstripNoWiki(style)} < 4.5 then
return true
return true