Module:Check for unknown parameters: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
improve logic |
disable ignoreblank in preview |
||
Line 27: | Line 27: | ||
local ispreview = frame:preprocess( "{{REVISIONID}}" ) == "" and 1 or 0 |
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 |
-- create the list of known args, regular expressions, and the return string |