Module:Non-global/sandbox

--

-- Ensures that a module can only be loaded on dev.wikia.com. Syntax: -- -- local p = require('Dev:Non-global')

local wrongWikia = mw.uri.new(mw.site.server).host ~= 'dev.wikia.com' local message = 'tried to load a non-global module'

if wrongWikia then error(message, 3) end

return function if wrongWikia then error(message, 4) end

return {} end

-- -- (Add categories here.)