Module:Sandbox/ProcrastinatingReader: Difference between revisions

Content deleted Content added
c
No edit summary
 
(60 intermediate revisions by the same user not shown)
Line 1:
local p = {}
local plain = require('Module:Plain text')._main
local getArgs = require('Module:Arguments').getArgs
local tableTools = require ('Module:TableTools')
 
function p.widthmain(frame)
local page = mw.title.new(frame.args[1])
return "test"
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 "test1"
else
return "0"
end
end