localanchors={}functionformat_anchor(anchor)anchor=mw.ustring.gsub(anchor," +","_")-- spaces to underscoresreturnanchorendforanchorinmw.title.new("विक्षनरी:परिशिष्ट:शब्दावली"):getContent():gmatch("{{anchor|([^}]+)}}")doanchors[format_anchor(anchor)]=trueendreturnanchors