Module:Translate test

From Feed The Beast Wiki
Jump to: navigation, search
This page contains changes which are not marked for translation.

Documentation for this module may be created at Module:Translate test/doc

local p = {}

function p.test()
	return mw.getCurrentFrame():preprocess([===[The following text should be translated: <translate><!--T:1--> Hello World</translate>]===])
end

function p.test2()
	return [===[The following [[Main_page|text]] should be translated: <translate><!--T:2--> Hello World</translate>]===]
end

function p.test3()
	return require([[Module:Utility_functions]]).pageSuffix()
end

function p.test4(params)
	return mw.getCurrentFrame():preprocess("{{Special:Editcount/Xbony2/Main}}")
end

return p