Module:Sandbox/ProcrastinatingReader: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2:
 
function p.main(frame)
local page = mw.title.new(frame:getTitle().args[1])
local content = page:getContent()
content = stringmw.matchustring.find(content, '{{ArbCom Arab-Israeli enforcement', 1, true) or stringmw.matchustring.find(content, '{{Arab-Israeli Arbitration Enforcement', 1, true)
if true then return content end
content = string.match(content, '{{ArbCom Arab-Israeli enforcement') or string.match(content, '{{Arab-Israeli Arbitration Enforcement')
if content then