Permanently protected module

Module:Module wikitext: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
m (Protected "Module:Module wikitext" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Changed protection settings for "Module:Module wikitext" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(No difference)

Latest revision as of 05:26, 19 June 2023


local p = {}

p.text = ''

function p.main()
	return p.text
end

function p._addText(text, preprocessFrame)
	if preprocessFrame ~= false then
		text = (preprocessFrame or mw.getCurrentFrame()):preprocess(text)
	end
	p.text = p.text .. text
end

return p