Content deleted Content added
. |
just get coords |
||
Line 13:
local title = mw.title.getCurrentTitle()
local content = frame:preprocess(title:getContent())
local coords = {}
for coord in mw.ustring.gmatch(content, "<span class=\"geo\">(.-)</span>") do
table.insert(coords, coord)
end
return table.concat( coords, "\n")
end
|