မော်ဂျူး:glossary/data

ဝစ်ရှင်နရီ မှ

Documentation for this module may be created at မော်ဂျူး: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