Module:Check for unknown parameters: Difference between revisions
disable ignoreblank in preview
m>Frietjes (improve logic) |
m>Frietjes (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 |