Module:Sandbox/Evad37/X1: Difference between revisions

Content deleted Content added
adjust
mw.site.server
 
(One intermediate revision by one other user not shown)
Line 1:
-- This module is a sandbox. It is also used for testing XFDcloser
local getArgs = require('Module:Arguments').getArgs
local transcludetranscluder = require("Module:TranscludeTranscluder")
local mapframe = require("Module:Mapframe")
 
local p = {}
 
p.server = function(frame)
return mw.site.server
end
 
p.main = function(frame)
Line 16 ⟶ 20:
local title = args.article and mw.title.new(args.article) or mw.title.getCurrentTitle()
local content = frame:preprocess(
args.section and transcludetranscluder.getSection(content, args.section) or title:getContent()
)
local coords = {}