Module:Sandbox/ProcrastinatingReader: Difference between revisions

Content deleted Content added
try something
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2:
 
function p.main(frame)
local tnamepage = "ArbCom Arab-Israeli enforcement"mw.title.new(frame.args[1])
local page = mw.title.new(frame:getTitle())
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)
content = string.match(content, '{{' .. tname)
if content then