Module:R:ka:GED

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Serves {{R:ka:GED}} to generate a direct link to the online website, so that when the link is opened the word pops up automatically.


local export = {}

-- {{R:ka:GED}}
function export.R_ka_GED(frame)
	local term = frame.args[1]
	local data = [[a:2:{s:12:"word_metauri";s:]] .. string.len(term) .. [[:"]].. term .. [[";s:11:"word_statia";s:0:"";}]]
	return require("Module:base64").encode(data)
end

return export