Content deleted Content added
←Created page with '-- Lat Long functions in Lua -- Ported to Lua from PHP by Wikipedia User Hike395, 18 Aug 2019 -- found by RWH at http://www.megalithia.com/search/llfuncshighl...' |
No edit summary |
||
Line 298:
-- this code was imported from module:convert
text = strip(text)
text = mw.text.gsub('^(.*)(\127[^\127]*UNIQ[^\127]*%-ref[^\127]*\127)(.*)$', '%1%3%2')
local reference
local pos = text:find('\127', 1, true)
|