Content deleted Content added
No edit summary |
No edit summary |
||
Line 38:
if not string.match(content, '%[%[Category:') then
issues['category'] = 'none'
elseif not string.match(content, '%[%[Category:.+%[%[Category:') then
issues['category'] = 'one'
end
Line 49 ⟶ 51:
end
if issue == 'category'
if details == 'none' then return '* There are no categories.\n'
elseif details == 'one' then
return '* There is only one category.\n'
end
end
return '<strong>Error: issue not found! Issue: '..issue..' = '..details..'</strong'
end
|