local anchors = {} for anchor in mw.title.new("wikt:Appendix:Glossary"):getContent():gmatch("{{anchor|([^}]+)}}") do anchors[anchor] = true end return anchors