Module:HasTag: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
error("Tag too long: " .. tag)
error("Tag too long: " .. tag)
end
end
local i = wikitext:find('UNIQ.-' .. tag)
local i = wikitext:find('UNIQ')
if i == nil then
if i == nil then
return ''
return ''