Module:glossary/data: Difference between revisions

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


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


return anchors
return anchors

Navigation menu