Module:Check for unknown parameters: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
no edit summary
(disable ignoreblank in preview)
No edit summary
Line 27:
local ispreview = frame:preprocess( "{{REVISIONID}}" ) == "" and 1 or 0
if ispreview then ignoreblank = nil end
 
-- create the list of known args, regular expressions, and the return string
Line 69 ⟶ 68:
end
end
if (not knownflag) and ispreview or ( (not ignoreblank) orand (not isnotempty(v)) ) then
k = mw.ustring.gsub(k, '[^%w\-_ ]', '?')
addresult(k)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu