Module: Is preview
From A Wiki of Ice and Fire
Documentation for this module may be created at Module:Is preview/doc
local frame = mw.getCurrentFrame()
local p = {}
function p.main()
local revision_id = frame:preprocess('{{REVISIONID}}')
return revision_id == nil or revision_id == ''
end
return p