Module:Check for unknown parameters: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
preview = unknown |
preview = unknown |
||
end |
end |
||
if ispreview == 1 then |
if ispreview == 1 then |
||
unknown = preview |
|||
ignoreblank = false |
|||
end |
|||
-- adds one result to the output tables |
-- adds one result to the output tables |
||
Line 68: | Line 71: | ||
end |
end |
||
end |
end |
||
if |
if not knownflag and ( not ignoreblank or isnotempty(v) ) then |
||
k = mw.ustring.gsub(k, '[^%w\-_ ]', '?') |
k = mw.ustring.gsub(k, '[^%w\-_ ]', '?') |
||
addresult(k) |
addresult(k) |