Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Test: Difference between revisions

From ProleWiki, the proletarian encyclopedia
m (Testing module to see how it returns content)
Tag: Replaced
m (Refining method)
Line 1: Line 1:
local p = {}
local p = {}
function p.test( frame )
function p.test( frame )
return frame.getContent()
return mw.title.getCurrentTitle().getContent()
end
end
return p
return p

Revision as of 16:59, 14 April 2024

local p = {}
function p.test( frame )
	return mw.title.getCurrentTitle().getContent()
end
return p