Module:Test: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Q8j (talk | contribs)
No edit summary
Q8j (talk | contribs)
mNo edit summary
Line 7: Line 7:
local p ={}
local p ={}
function p.Main(frame)
function p.Main(frame)
return (string.find ( frame.args[1] , '~~~~' ) ~= nil) .. frame.args[1]
return mw.allToString(string.find ( frame.args[1] , '~~~~' ) ~= nil) .. frame.args[1]
end
end
return p
return p

Revision as of 09:38, 19 April 2021

This is a test module.

Official test pages

Test page · Abuse filter test · AutoWikiBrowser test · Cascading protection test · Category test · Content model test · Deletion test · Gallery test · Link test

Merge test · Patrol test · Protection test · Redirect test · Review test · Revision deletion test · Rollback test · Tag test · Template test · Module:Test (doc) · VisualEditor test


--[[ This is a test page for testing lua in mediawiki
place your code below this comment
please remove when you are done testing,
Thank You! and have fun
]]

local p ={}
function p.Main(frame)
	return mw.allToString(string.find ( frame.args[1] , '~~~~' ) ~= nil) .. frame.args[1]
end
return p