Module:glossary/data

विक्षनरी से

"इस मॉड्यूल हेतु प्रलेख Module:glossary/data/doc पर बनाया जा सकता है"

local anchors = {}

function format_anchor (anchor)
	anchor = mw.ustring.gsub(anchor, " +", "_") -- spaces to underscores
	return anchor
end

for anchor in mw.title.new("विक्षनरी:परिशिष्ट:शब्दावली"):getContent():gmatch("{{anchor|([^}]+)}}") do
	anchors[format_anchor(anchor)] = true
end

return anchors