ElEditors, Interface administrators, Administrators
85,546
edits
mNo edit summary Tag: Manual revert |
mNo edit summary |
||
Line 124: | Line 124: | ||
-- A table with non-numeric arguments to split. | -- A table with non-numeric arguments to split. | ||
local TO_SPLIT = { 'append', 'awk_alias' } | local TO_SPLIT = { 'append', 'awk_alias' } | ||
local CJK_SLOT = '\u2E80-\u2FDF\u3040-\u31FF\u3400-\u9FFF\uF900-\uFAFF' | |||
for k, v in pairs(args) do | for k, v in pairs(args) do | ||
Line 151: | Line 152: | ||
exist = frame:preprocess('{{#ifexist:' .. passive_name .. '|true|false}}') == 'true' | exist = frame:preprocess('{{#ifexist:' .. passive_name .. '|true|false}}') == 'true' | ||
} | } | ||
elseif not string.find(v, '[a-hj-zA-HJ-Z]+') then | elseif not string.find(v, '[a-hj-zA-HJ-Z' .. CJK_SLOT .. ']+') then | ||
--[[ | --[[ | ||
Change how args are received. | Change how args are received. |