Modul:Hatnote: Unterschied zwischen den Versionen
fix error category logic
(move formatLink back to the underscore - that one is necessary) |
(fix error category logic) |
||
Zeile 83: | Zeile 83: | ||
local errorCategoryLink | local errorCategoryLink | ||
if yesno(demo) then | if yesno(demo) then | ||
errorCategoryLink = '' | |||
else | |||
errorCategoryLink = string.format( | errorCategoryLink = string.format( | ||
'[[%s:%s]]', | '[[%s:%s]]', | ||
Zeile 88: | Zeile 90: | ||
errorCategory | errorCategory | ||
) | ) | ||
end | end | ||
return string.format( | return string.format( |