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:36, 24 May 2021. 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.args[1])
	local content = page:getContent()
	content = mw.ustring.find(content, '{{ArbCom Arab-Israeli enforcement', 1, true)-- or string.match(content, '{{Arab-Israeli Arbitration Enforcement')
	
	if content then
		return "1"
	else
		return "0"
	end
end

return p