打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

秋绘君的用户贡献

此用户有631次编辑。​账号创建于2026年3月31日 (星期二)。
搜索贡献展开折叠
⧼contribs-top⧽
⧼contribs-date⧽
最新 | 最旧) 查看( | 较旧50条)(20 | 50 | 100 | 250 | 500

2026年1月23日 (星期五)

2026年1月22日 (星期四)

  • 22:092026年1月22日 (四) 22:09 差异 历史 +966 Module:TemplateAsyncLoad 创建页面,内容为“local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame) local titleArgKey = 'TemplateAsyncLoadTitle' local title = args[titleArgKey] local titleObj -- 标题检查 assert(title, '未输入标题参数') titleObj = mw.title.new(title, 'Template') assert(titleObj, '无效标题') assert(not titleObj.isExternal and titleObj.namespace == 10, '仅可输入模板标题') assert(titleObj.exists, '模板不存在') --…” 当前
  • 22:092026年1月22日 (四) 22:09 差异 历史 +21,122 Module:String 创建页面,内容为“--[[ 引自维基百科(enwp:Module:String,oldid=552254999) This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either preserve or remove such whi…” 当前
  • 21:432026年1月22日 (四) 21:43 差异 历史 +1,153 Module:Str test 创建页面,内容为“local module = {} function module.main(frame) local args = frame.args local str = args[1] local ptn = mw.text.decode(mw.text.unstripNoWiki(args[2])) if mw.ustring.find(str, ptn) == nil then return '' else return 1 end end function module.MultiMatch(frame) local parent = frame:getParent() if parent and parent:getTitle() == "Template:Str substr" then frame = parent end local args = frame.args local str = args[1] local result = "" local i = 2 wh…” 当前
  • 21:422026年1月22日 (四) 21:42 差异 历史 +1,462 Module:SafeCate 创建页面,内容为“local module = {} local function _isvalid(value) return value ~= nil and type(value) == "string" and mw.text.trim(value) ~= "" end function module.main(frame) local strict = frame local parent = frame:getParent() if not _isvalid(frame.args[1]) then if not (parent and _isvalid(parent.args[1])) then return end local title = parent:getTitle() if title == "Template:SafeCate" then strict, frame = parent, parent elseif mw.title.new(title).namespace =…” 当前
  • 21:402026年1月22日 (四) 21:40 差异 历史 +2,348 Module:Ruby 创建页面,内容为“local module = {} local g_frame function get_arg ( name, plain ) if g_frame.args[name] and (mw.text.trim(g_frame.args[name]) ~= '' or plain) then return mw.text.trim(g_frame.args[name]) end end function module.ruby ( frame ) local parent = frame:getParent() if parent and (parent:getTitle() == "Template:Ruby" or parent:getTitle() == "Template:Ruby/Sandbox" or parent:getTitle() == "Template:沙盒") then frame = parent end g_frame = frame local args…”
  • 21:392026年1月22日 (四) 21:39 差异 历史 +36,494 Module:Nav 创建页面,内容为“local nav = {} local notnil = function(value, default) return value or default end local __nn = notnil local notnilnorempty = function(value, default) if value == nil then return default elseif type(value) == "string" and value == "" then return default else return value end end local __nne = notnilnorempty local notnilnorwhitespace = function(value, default) if value == nil then return default elseif type(value) == "string" then…”
  • 21:382026年1月22日 (四) 21:38 差异 历史 +2,866 Module:ISBN 创建页面,内容为“local module = {} --[[--------------------------< IS _ V A L I D _ I S X N >----------------------------------------------------- ISBN-10 and ISSN validator code calculates checksum across all isbn/issn digits including the check digit. ISBN-13 is checked in check_isbn(). If the number is valid the result will be 0. Before calling this function, issbn/issn must be checked for length and stripped of dashes, spaces and other non-isxn characters. ]] local f…” 当前
  • 21:352026年1月22日 (四) 21:35 差异 历史 +1,290 Module:BilibiliVideoIDValidator 创建页面,内容为“return { validation = function(frame) local flag = false local id = mw.text.trim(frame.args.id or "") local regex = "[A-HJ-NP-Za-km-z1-9]+$" -- 1. 有明确的 av 前缀且符合 aid 规则 if mw.ustring.match(id, "^[Aa][Vv][1-9]%d*$") then flag = true -- 2. 有明确的 bv 前缀且符合 bvid 规则 elseif string.len(id) == 12 and mw.ustring.match(id, "^[bB][vV]1" .. regex) then…” 当前
  • 21:172026年1月22日 (四) 21:17 差异 历史 −858 Template:原导航 无编辑摘要

2026年1月21日 (星期三)

2026年1月20日 (星期二)

最新 | 最旧) 查看( | 较旧50条)(20 | 50 | 100 | 250 | 500