1 124
modifications
| Ligne 6 : | Ligne 6 : | ||
local function _requirements(resource, value, link, text) | local function _requirements(resource, value, link, text) | ||
resource = string.lower(com.trim(resource)) | resource = string.lower(com.trim(resource)) | ||
resource = iconList[resource] | resource = iconList[resource] | ||
| Ligne 17 : | 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) | ||
mw.log(value .. ' ') | |||
--Check after trim as may be whitespace only | --Check after trim as may be whitespace only | ||
if com.exists(value) == true then | if com.exists(value) == true then | ||