Module:glossary/data: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "local anchors = {} for anchor in mw.title.new("Appendix:Glossary"):getContent():gmatch("{{anchor|([^}]+)}}") do anchors[anchor] = true end return anchors")
(No difference)

Revision as of 16:30, 24 March 2021



local anchors = {}

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

return anchors