Modul:Detect singular: Unterschied zwischen den Versionen

"list" should be either hlist, or an explicit <li> element
(comma should trigger when following a letter and before a non-letter)
("list" should be either hlist, or an explicit <li> element)
Zeile 27: Zeile 27:
end
end
local hasComma = checkComma and mw.ustring.find(s, '%a,%A')  
local hasComma = checkComma and mw.ustring.find(s, '%a,%A')  
local hasList = mw.ustring.find(s,'%Alist%A')
local hasList = plainFind(s,'hlist') or mw.ustring.find(s,'<%s*li')
local hasAnd = mw.ustring.find(s,'%Aand%A')
local hasAnd = mw.ustring.find(s,'%Aand%A')
local hasBreak = mw.ustring.find(s,'<%s*br')
local hasBreak = mw.ustring.find(s,'<%s*br')
Anonymer Benutzer