1 124
modifications
| Ligne 16 : | Ligne 16 : | ||
--No point trimming the value if it won't be used | --No point trimming the value if it won't be used | ||
value = com.trim(value) | value = com.trim(value) | ||
--Check after trim as may be whitespace only | --Check after trim as may be whitespace only | ||
if com.exists(value) | if com.exists(value) then | ||
value = ' (' .. value .. ')' | value = ' (' .. value .. ')' | ||
end | end | ||
mw.log(value) | |||
result = '[[file:' | result = '[[file:' | ||