Content deleted Content added
automatically use Module:Portal/sandbox |
|||
Line 3:
require('Module:No globals')
-- determine whether we're being called from a sandbox▼
local portalModule = require('Module:Portal/sandbox')▼
local isSandbox = mw.getCurrentFrame():getTitle():find('sandbox', 1, true)▼
local sandbox = isSandbox and '/sandbox' or ''▼
local getImageName = portalModule._image
local checkPortals = portalModule._checkPortals
Line 10 ⟶ 14:
local getArgs = require('Module:Arguments').getArgs
local p = {}
▲-- determine whether we're being called from a sandbox
▲local isSandbox = mw.getCurrentFrame():getTitle():find('sandbox', 1, true)
▲local sandbox = isSandbox and '/sandbox' or ''
local function sandboxVersion(s)
|