Модуль:Поиск шаблона страницы: различия между версиями

мНет описания правки
 
Строка 14: Строка 14:
     local content = title:getContent() or ""
     local content = title:getContent() or ""


     local pattern = "[\n]%s*{{#invoke:" .. modName
     local pattern = "[\n]%s*{{" .. modName
     if string.match("\n" .. content, pattern) then
     if string.match("\n" .. content, pattern) then
         return "Да"
         return "Да"