Jump to content

Module:Sandbox/ProcrastinatingReader

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by ProcrastinatingReader (talk | contribs) at 13:25, 24 May 2021 (aliases). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}

function p.main(frame)
	local page = mw.title.new(frame:getTitle())
	local content = page:getContent()
	content = string.match(content, '{{ArbCom Arab-Israeli enforcement') or string.match(content, '{{Arab-Israeli Arbitration Enforcement')
	
	if content then
		return "1"
	else
		return "0"
	end
end

return p