Modul:Detect singular: Unterschied zwischen den Versionen
(don't blank the wikilink, replace with string of uppercase) |
(change comma logic) |
||
Zeile 28: | Zeile 28: | ||
return false | return false | ||
end | end | ||
local hasComma = checkComma and mw.ustring.find(s, '%a,% | local hasComma = checkComma and mw.ustring.find(s, '%a,%s') | ||
local hasList = plainFind(s,'hlist') or mw.ustring.find(s,'<%s*li') | 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') |