Module:User:Theknightwho/preparser

Hello, you have come here looking for the meaning of the word Module:User:Theknightwho/preparser. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Theknightwho/preparser, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Theknightwho/preparser in singular and plural. Everything you need to know about the word Module:User:Theknightwho/preparser you have here. The definition of the word Module:User:Theknightwho/preparser will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Theknightwho/preparser, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}

function export.memo_key(template, args)
	local sort_args = {}
	for k, v in pairs(args) do
		table.insert(sort_args, k .. "\254" .. v .. "\255")
	end
	table.sort(sort_args)
	return template .. "\255" .. table.concat(sort_args)
end

function export.preparse(frame)
	if not frame.args then
		local parent_frame = frame:getParent()
		local preloaded = mw.loadData("Module:User:Theknightwho/preparser/core")
		if preloaded then
			return preloaded
		end
	else
		frame.args = nil
	end
end

return export