Module:If preview/sandbox: Difference between revisions

Content deleted Content added
change that to if_preview
be dumb for a minute
Line 10:
local revision_id = mw.getCurrentFrame():preprocess('{{REVISIONID}}')
-- {{REVISIONID}} is usually the empty string when previewed.
return not (revision_id == nil and notor revision_id == '')
end