跳转到内容

Module:LoadPage:修订历史

2024年1月17日 (星期三)

2024年1月6日 (星期六)

  • 当前先前 20:512024年1月6日 (六) 20:51 Xiplus-abot 留言 贡献 443字节 0 已保护“Module:LoadPage”:​高風險模板:24152引用<!-- 機器人3 -->([编辑=仅允许模板编辑员](无限期)[移动=仅允许模板编辑员](无限期))
  • 当前先前 12:552024年1月6日 (六) 12:55 A2569875 留言 贡献 443字节 +443 建立内容为“local p = {} function p.loadpage(page) local page_name = page if type(page) == type({}) then page_name = (page.args or page)[1] elseif type(page) == type(nil) then return '' elseif type(page) ~= type("string") then page_name = tostring(page) end page_name = tostring(page_name or '') if mw.text.trim(page_name) ~= '' then local title_obj = mw.title.new(page_name) pcall(title_obj.getContent, title_obj) end return '' end return p”的新页面