Content deleted Content added
test |
don't transform custom values |
||
Line 39:
-- val exists and isn't blank
local loc = tonumber(mw.ustring.sub(k,-1))
if loc and (loc > 0) and (loc <= 10)
and (not mw.ustring.match(k, "^location_%d+$")) and (not mw.ustring.match(k, "^custom_")) then
-- last character is a number 1-10, and it's not "location_#" or "custom_"
if not args[loc] then
args[loc] = {}
|