יחידה:ParamValidator: הבדלים בין גרסאות בדף

.
.
שורה 66: שורה 66:


local options = not empty( args.options ) and mw.text.jsonDecode( args.options ) or {}
-- local options = not empty( args.options ) and mw.text.jsonDecode( args.options ) or {}
local options = {} --fixme
local base_options = not empty( inbuilt_options[base] ) and mw.text.jsonDecode( inbuilt_options[base] ) or {}  
local base_options = not empty( inbuilt_options[base] ) and mw.text.jsonDecode( inbuilt_options[base] ) or {}  
for k, v in pairs( base_options ) do
for k, v in pairs( base_options ) do