词条 | Module:Sandbox/pppery/massrm |
释义 | local p = {}; local redr = require("Module:Redirect"); function p.main(frame) local args = {} local text = frame.args.text .. '\'; local matcher = mw.ustring.gmatch(text, "([^ \]+)[ \]+"); local cnt = 1; local out = ""; while true do local p = matcher(); mw.log(p); if not p then if frame.args.go then return out end args.reason = frame.args.reason; mw.logObject(args); frame = frame:newChild{title=frame.title, args=args}; frame = frame:newChild{title=frame.title, args=args}; return require("Module:Requested move").main(frame); end local new = mw.ustring.gsub(p, "User:","Sandbox/") if new ~= p then args["current" .. cnt] = p; args["new" .. cnt] = new cnt = cnt + 1 end end end return p |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。