Content deleted Content added
Created page with "local p = {} function p.getConfig(siteName) local siteConfig = mw.loadData("Module:CareerList/config")[siteName] if not siteConfig then error(string.format("Site '%s' not found in configuration file", siteName)) end return siteConfig end function p.makeUrl(siteName, id) local siteConfig = p.getConfig(siteName) local url = siteConfig.url local variable = siteConfig.variable local idPlaceholder = string.find(url, variable) if i..."
 
No edit summary
Line 1:
local p = {}
local mw = require('mw')
 
function p.getConfig(siteName)
Line 52 ⟶ 53:
end
return tostring(data)
end
 
function p.main(frame)
return p.makeTable(frame)
end