Content deleted Content added
something like this Tag: Reverted |
fix logic Tag: Reverted |
||
Line 119:
local tf_match = mw.ustring.match(arg_name,'^tf (%d+)$')
local note_match = mw.ustring.match(arg_name,'^note (%d+)$')
if tf_match and yesno(arg_value, true) then
table.insert(task_forces, tf_match)
elseif note_match and yesno(arg_value, true) then
table.insert(notes, note_match)
elseif tf_trigger_match and arg.value==args['tf '..tf_trigger_match..
▲ local tf_trigger_match = mw.ustring.match(arg_name, '^' .. TF_ROOT .. '(%d+)$')
▲ table.insert(task_forces, tf_trigger_match)
else
local tf, cat = mw.ustring.match(arg_name,'^tf (%d+) cat (%d+)$')
|