Module:Sandbox/ProcrastinatingReader: Difference between revisions
imported>ProcrastinatingReader No edit summary |
(No difference)
|
Latest revision as of 13:37, 24 May 2021
Documentation for this module may be created at Module:Sandbox/ProcrastinatingReader/doc
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 mw.ustring.find(content, '{{Arab-Israeli Arbitration Enforcement', 1, true)
if content then
return "1"
else
return "0"
end
end
return p