Module:Check for unknown parameters: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(improve error message for positional) |
(clip at 25 characters) |
||
Line 58: | Line 58: | ||
( showblankpos or isnotempty(v) ) |
( showblankpos or isnotempty(v) ) |
||
then |
then |
||
local vlen = mw.ustring.len(v) |
|||
⚫ | |||
v = mw.ustring.gsub(v, '[^%w\-_ ]', '?') |
v = mw.ustring.gsub(v, '[^%w\-_ ]', '?') |
||
⚫ | |||
⚫ | |||
⚫ | |||
end |
end |
||
end |
end |