Editing Module:Case
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
local function has_value (tab, val) | local function has_value (tab, val) | ||
for index, value in ipairs(tab) do | for index, value in ipairs(tab) do | ||
if | if value == val then | ||
return true | return true | ||
end | end | ||
Line 32: | Line 32: | ||
title = title .. langObject:lc(part) .. replace | title = title .. langObject:lc(part) .. replace | ||
else | else | ||
mw.logObject(part) | |||
title = title .. langObject:ucfirst(langObject:lc(part)) .. replace | title = title .. langObject:ucfirst(langObject:lc(part)) .. replace | ||
end | end |