鹿野耕云的用户贡献
外观
2025年11月26日 (星期三)
- 08:102025年11月26日 (三) 08:10 差异 历史 +583 新 Template:Documentation/TemplateData 创建页面,内容为“{{TemplateData header}} <templatedata> { "description": "显示一个模板的使用说明", "params": { "1": { "label": "模板的使用说明所在页面", "description": "标示该模板的使用说明所在页面名称", "example": "Template:Documentation/doc", "type": "wiki-page-name", "default": "{{PAGENAME}}/doc" }, "content": { "label": "模板的使用说明内容", "description": "以所写的使用说明内容取代该模…” 当前
2025年11月25日 (星期二)
- 23:332025年11月25日 (二) 23:33 差异 历史 +1,654 新 Template:Tlx 创建页面,内容为“<includeonly><!-- --><code><!-- --><nowiki>{{</nowiki>{{#if:{{{subst|}}} |subst:}}<!-- -->[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!-- -->{{#if:{{{2|}}} ||{{{2}}}}}<!-- -->{{#if:{{{3|}}} ||{{{3}}}}}<!-- -->{{#if:{{{4|}}} ||{{{4}}}}}<!-- -->{{#if:{{{5|}}} ||{{{5…” 当前
- 23:322025年11月25日 (二) 23:32 差异 历史 +6,150 新 Module:Format link 创建页面,内容为“-------------------------------------------------------------------------------- -- Format link 格式化链接 -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the {{format link}} template. -------------------------------------------------------------------------------- lo…” 当前
- 23:312025年11月25日 (二) 23:31 差异 历史 +789 新 Module:Hatnote/styles.css 创建页面,内容为“→{{pp-template|small=yes}}: .hatnote { font-size: small; } div.hatnote { →@noflip: padding-left: 2em; margin-bottom: 0.8em; →小于1.2可能会导致错行问题: margin-top: 0.8em; →background: url(//cs.zybkcn.com/w/images/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;: } .hatnote-notice-img::after { content: "\202f\202f\202f\202f"; } .hatnote-notice-img-small::after { content: "\202f\202f"; } /* The templatestyles ele…”
- 23:302025年11月25日 (二) 23:30 差异 历史 0 新 File:Disambig gray.svg 无编辑摘要 当前
- 23:272025年11月25日 (二) 23:27 差异 历史 +7,985 新 Module:Hatnote list 创建页面,内容为“-------------------------------------------------------------------------------- -- Module:Hatnote list -- -- -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of "For X, see Y" statements, -- -- as used in {{about}}, {{redirect}}, and their variants. A…” 当前
- 23:262025年11月25日 (二) 23:26 差异 历史 +6,138 新 Module:Hatnote 创建页面,内容为“-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modules.…” 当前
- 23:252025年11月25日 (二) 23:25 差异 历史 +3,120 新 Module:Labelled list hatnote 创建页面,内容为“-------------------------------------------------------------------------------- -- Labelled list -- -- -- -- This module does the core work of creating a hatnote composed of a list -- -- prefixed by a colon-terminated label, i.e. "LABEL: [andList of pages]", -- -- for {{see also}} and similar templates.…” 当前
- 23:232025年11月25日 (二) 23:23 差异 历史 +224 新 Template:See also 创建页面,内容为“<includeonly>{{#invoke:Labelled list hatnote|labelledList|参见}}</includeonly><noinclude> {{documentation}} <!-- 分类应放在 /doc 子页面,而跨语言链接应放在维基数据(Wikidata)上。 --> </noinclude>” 当前
- 23:202025年11月25日 (二) 23:20 差异 历史 +19,145 新 Module:String 创建页面,内容为“--[[ 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 whitespace. Global options ignore_errors: If set to 'true' o…” 当前
- 23:202025年11月25日 (二) 23:20 差异 历史 +188 新 Template:Sandbox other 创建页面,内容为“{{#if:{{#ifeq:{{SUBPAGENAME}}|sandbox|1}}{{#invoke:String|match|{{PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}<!-- --><noinclude>{{documentation}}</noinclude>” 当前
- 23:192025年11月25日 (二) 23:19 差异 历史 +36 新 Template:Documentation 重定向页面至Template:Documentation 当前 标签:新重定向
- 23:182025年11月25日 (二) 23:18 差异 历史 +9 小 Template:Documentation 已将重定向目标从Documentation更改为Template:Documentation 当前 标签:已更改重定向目标
- 23:182025年11月25日 (二) 23:18 差异 历史 +27 新 Template:Documentation 重定向页面至Documentation 标签:新重定向
- 23:172025年11月25日 (二) 23:17 差异 历史 0 新 File:Lua-Logo.svg 无编辑摘要 当前
- 23:162025年11月25日 (二) 23:16 差异 历史 +5,717 新 Module:List 创建页面,内容为“local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true } function p.makeListData(listType, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and TemplateStyles data.classes = {} data.templates…” 当前
- 23:152025年11月25日 (二) 23:15 差异 历史 +15,281 新 Module:TableTools 创建页面,内容为“------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should not -- -- be called directly from #invoke.…” 当前
- 23:132025年11月25日 (二) 23:13 差异 历史 +3,807 新 Module:Lua banner 创建页面,内容为“--[=[ 本模块由Template:Uses Lua调用 暂无模块调用 ]=]-- local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('^%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(fram…” 当前
- 23:122025年11月25日 (二) 23:12 差异 历史 +36 新 Template:Documentation 重定向页面至Template:Documentation 标签:新重定向
- 23:112025年11月25日 (二) 23:11 差异 历史 +168 新 Template:Uses Lua 创建页面,内容为“<includeonly>{{#iferror:{{#invoke:Lua banner|main}}|{{#invoke:Lua banner|main2}}}}</includeonly><noinclude> {{ {{FULLPAGENAME}} |Module:Lua banner}} {{doc}}</noinclude>” 当前
- 23:032025年11月25日 (二) 23:03 差异 历史 0 File:Information icon4.svg 鹿野耕云上传File:Information icon4.svg的新版本 当前
- 22:422025年11月25日 (二) 22:42 差异 历史 0 新 File:Information icon4.svg 无编辑摘要
- 22:402025年11月25日 (二) 22:40 差异 历史 +1,837 新 Template:Ombox/style.css 创建页面,内容为“.ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; →Default "notice" gray: background-color: var(--background-color-neutral-subtle, #f8f9fa); box-sizing: border-box; color: var(--color-base, #202122); } →For the "small=yes" option.: .ombox.mbox-small { font-size: 88%; line-height: 1.25em; } .ombox-speedy { border: 2px solid #b32424; →Red: background-color: #fee7e6; →Pink: } .ombox-delete { bor…” 当前
- 22:302025年11月25日 (二) 22:30 差异 历史 +5,992 新 Module:Namespace detect 创建页面,内容为“--[[ -------------------------------------------------------------------------------- -- -- -- NAMESPACE DETECT -- -- -- -- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace a…” 当前
- 22:272025年11月25日 (二) 22:27 差异 历史 +3,545 新 Module:Namespace detect/config 创建页面,内容为“-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --…” 当前
- 22:252025年11月25日 (二) 22:25 差异 历史 +2,569 新 Module:Namespace detect/data 创建页面,内容为“-------------------------------------------------------------------------------- -- Namespace detect data -- -- This module holds data for Module:Namespace detect to be loaded per -- -- page, rather than per #invoke, for performance reasons. -- -------------------------------------------------------------------------------- local cfg = require('Module:Namespace detect/config') loca…” 当前
- 22:232025年11月25日 (二) 22:23 差异 历史 +432 新 Template:Mbox 创建页面,内容为“<!-- {{Namespace detect | main = <templatestyles src="Template:Ambox/style.css" /> | category = <templatestyles src="Template:Cmbox/style.css" /> | talk = <templatestyles src="Template:Tmbox/style.css" /> | file = <templatestyles src="Template:Imbox/style.css" /> }} -->{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- 分类和跨语言链接请添加到/doc子页面,不要在此处添加! --> </noinclude>” 当前
- 20:402025年11月25日 (二) 20:40 差异 历史 0 新 File:Edit-copy green.svg 无编辑摘要 当前
- 20:392025年11月25日 (二) 20:39 差异 历史 +1,269 新 Template:Documentation subpage 创建页面,内容为“{{#if:{{{Original-recipe|{{{Orig|}}}}}} | {{Mbox | type = content | image = 40px|alt=|link= | text = 此页面是[[{{NAMESPACE}}:{{{1|{{BASEPAGENAME}}}}}]]的模板文件页。 <small> 此页面可能不打算被直接阅读。 <br> 使用变量的-{zh-hans:链接;zh-hant:連結;}-可能看起来已损坏,事实上,这是有用途的链接,因此请勿将其替换为写死的页面名称或URL。 </…” 当前
- 20:252025年11月25日 (二) 20:25 差异 历史 +5,755 新 Module:Category handler/config 创建页面,内容为“-------------------------------------------------------------------------------- -- Module:Category handler configuration data -- -- Language-specific parameter names and values can be set here. -- -- For blacklist config, see Module:Category handler/blacklist. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. ------------------…” 当前
- 20:232025年11月25日 (二) 20:23 差异 历史 +732 新 Module:Category handler/blacklist 创建页面,内容为“-- This module contains the blacklist used by Module:Category handler. -- Pages that match Lua patterns in this list will not be categorised unless -- categorisation is explicitly requested. return { '^Main Page$', -- don't categorise the main page. -- Don't categorise the following pages or their subpages. -- "%f[/\0]" matches if the next character is "/" or the end of the string. '^Wikipedia:Cascade%-protected items%f[/\0]', '^User:…” 当前
- 20:222025年11月25日 (二) 20:22 差异 历史 +631 新 Module:Category handler/data 创建页面,内容为“-- This module assembles data to be passed to Module:Category handler using -- mw.loadData. This includes the configuration data and whether the current -- page matches the title blacklist. local data = require('Module:Category handler/config') local mShared = require('Module:Category handler/shared') local blacklist = require('Module:Category handler/blacklist') local title = mw.title.getCurrentTitle() data.currentTitleMatchesBlacklist = mShared.matchesB…” 当前
- 20:212025年11月25日 (二) 20:21 差异 历史 +888 新 Module:Category handler/shared 创建页面,内容为“-- This module contains shared functions used by Module:Category handler -- and its submodules. local p = {} function p.matchesBlacklist(page, blacklist) for i, pattern in ipairs(blacklist) do local match = mw.ustring.match(page, pattern) if match then return true end end return false end function p.getParamMappings(useLoadData) local dataPage = 'Module:Namespace detect/data' if useLoadData then return mw.loadData(dataPage).mappings else…” 当前
- 20:082025年11月25日 (二) 20:08 差异 历史 +7,871 新 Module:Category handler 创建页面,内容为“-------------------------------------------------------------------------------- -- -- -- CATEGORY HANDLER -- -- -- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all name…” 当前
- 16:422025年11月25日 (二) 16:42 差异 历史 0 小 Module:Message box/mbox.css 鹿野耕云移动页面Module:Message box/ombox.css至Module:Message box/mbox.css,不留重定向 当前
- 16:422025年11月25日 (二) 16:42 差异 历史 −1,880 小 Module:Message box/mbox.css 无编辑摘要
- 16:392025年11月25日 (二) 16:39 差异 历史 +6,640 新 Module:Message box/configuration 创建页面,内容为“-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { -- Global styles applying to all *mboxes ['@glob…” 当前
- 16:362025年11月25日 (二) 16:36 差异 历史 0 小 Module:Message box 无编辑摘要 当前
- 16:282025年11月25日 (二) 16:28 差异 历史 0 小 Module:Message box 无编辑摘要
- 16:012025年11月25日 (二) 16:01 差异 历史 0 小 Module:Message box 无编辑摘要
- 15:342025年11月25日 (二) 15:34 差异 历史 +1,286 小 Module:Message box 无编辑摘要
- 14:522025年11月25日 (二) 14:52 差异 历史 +328 新 MediaWiki:Scribunto-doc-page-does-not-exist 创建页面,内容为“{{#if:{{#invoke:Redirect|isRedirect|{{FULLPAGENAME}}}} | <!-- 如果当前页面是重定向页面 --> {{Module_redirect|{{#invoke:Redirect|main|{{FULLPAGENAME}}}}}} | <!-- 如果当前页面不是重定向页面 --> {{#invoke:documentation|nonexistent|_content={{ {{#invoke:documentation|contentTitle}} }} }} }}” 当前
- 14:052025年11月25日 (二) 14:05 差异 历史 +16 小 Template:Module redirect 无编辑摘要 当前
- 14:052025年11月25日 (二) 14:05 差异 历史 0 新 File:Redirect arrow without text.svg 无编辑摘要 当前
- 14:032025年11月25日 (二) 14:03 差异 历史 +321 新 Template:Module redirect 创建页面,内容为“link=<span class="redirectText" id="softredirect">[[:{{{1}}}|{{{1}}}]]</span><br /><span style="font-size:small; padding-left:52px;">为页面为-{zh-hans:模块;zh-hant:模組;}-的-{zh-hans:重定向; zh-hant:重新導向;}-。</span><noinclude> {{Documentation}} </noinclude>”
- 14:012025年11月25日 (二) 14:01 差异 历史 +4,349 新 Module:Redirect 创建页面,内容为“-- This module provides functions for getting the target of a redirect page. local p = {} -- Gets a mw.title object, using pcall to avoid generating script errors if we -- are over the expensive function count limit (among other possible causes). local function getTitle(...) local success, titleObj = pcall(mw.title.new, ...) if success then return titleObj else return nil end end -- Gets the name of a page that a redirect leads to, or nil if it isn't…” 当前
- 13:512025年11月25日 (二) 13:51 差异 历史 +319 新 MediaWiki:Scribunto-doc-page-show 创建页面,内容为“{{#if:{{#invoke:Redirect|isRedirect|{{FULLPAGENAME}}}} | {{Module_redirect|{{#invoke:Redirect|main|{{FULLPAGENAME}}}}}}}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}|{{#ifexist:{{FULLPAGENAME}}/doc|{{FULLPAGENAME}}/doc|{{NAMESPACE}}:{{BASEPAGENAME}}/doc}}}} <span id="code"></span>” 当前
- 13:392025年11月25日 (二) 13:39 差异 历史 +201 新 Template:Tl/doc 创建页面,内容为“{{Documentation subpage}} 参数1填的是一个页面,如果参数1没有指定名字空间,也无前导冒号的话,就会在前面自动加上{{Focus|Template:}}。 Category:格式模板” 当前
- 13:352025年11月25日 (二) 13:35 差异 历史 +3,948 新 Module:Yesno/doc 创建页面,内容为“本模块提供用于处理布尔值或形如布尔值的字符串输入的一致接口。Lua允许布尔值<code>true</code>和<code>false</code>,wiki代码则只能用像yes、no这样的词语来表达布尔值。本模块处理这些字符串并将其转化为布尔值,以供Lua处理。对于<code>nil</code>值依旧返回<code>nil</code>,以允许区分<code>nil</code>和<code>false</code>。本模块同样接受其他的Lua结构输入,如布…” 当前
- 13:342025年11月25日 (二) 13:34 差异 历史 +400 新 Template:Transclude 创建页面,内容为“{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }} | Template:{{{1}}} <!-- no leading colon, eg "Foo" --> | {{PAGENAME: {{{1}}} }} <!-- leading colon, eg ":Foo", so we want the article --> }} }}<noinclude> {{documentation}} </noinclude>” 当前