Module:If preview/configuration

local revision_id = mw.getCurrentFrame:preprocess('') -- is usually the empty string when previewed. -- I don't know why we're checking for nil but hey, maybe someday things -- would have broken local is_preview = revision_id == nil or revision_id == ''

return { is_preview }