Content deleted Content added
Remove pointless declarations of functions as local variables |
Misc code cleanup, remove functions and variables used only once |
||
Line 1:
local export = {}
local function Smyth(section, part)▼
code = mw.uri.encode(code, "PATH")▼
return "http://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:" .. path .. ":" .. part .. "=" .. code▼
▲function Smyth(section, part)
if not part then
part = "smythp"
end
local Part, url
if section == "" or section == nil then
Line 38 ⟶ 25:
end
end
▲
end
return { url = url, Part = Part }
|