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

9Yan的用户贡献

此用户有1,391次编辑。​账号创建于2023年6月7日 (星期三)。
搜索贡献展开折叠
⧼contribs-top⧽
⧼contribs-date⧽
最新 | 最旧) 查看( | )(20 | 50 | 100 | 250 | 500

2025年8月2日 (星期六)

  • 22:222025年8月2日 (六) 22:22 差异 历史 +5,396 Common 创建页面,内容为“local common = {} --- Convert an input to number ---@param num string|integer Input ---@param onFail string|integer Output if conversion fails ---@param base integer Base for tonumber, defaults to 10 ---@return number function common.toNumber( num, onFail, base ) base = base or 10 if num == nil then return onFail end return tonumber( num ) or onFail end --- Formats a number according to the content language ---@param num number|string f…” 当前
  • 22:222025年8月2日 (六) 22:22 差异 历史 +33,496 Vehicle 创建页面,内容为“require( 'strict' ) local Vehicle = {} local BOUNDS = { ScmSpeed = { min = 45, max = 300 }, MaximumSpeed = { min = 20, max = 1485 }, ReverseSpeed = { min = 7, max = 34 }, RollRate = { min = 15, max = 234 }, PitchRate = { min = 7, max = 97 }, YawRate = { min = 8, max = 97 } } local metatable = {} local methodtable = {} metatable.__index = methodtable local i18n = require( 'Module:i18n' ):new() local TNT = require( 'Module…” 当前
  • 22:202025年8月2日 (六) 22:20 差异 历史 0 InfoboxNeue/doc 无编辑摘要 当前
  • 22:192025年8月2日 (六) 22:19 差异 历史 +2,232 InfoboxNeue/doc 创建页面,内容为“{{Documentation}} {{t|InfoboxNeue}} is a general use infobox template. See Module:InfoboxNeue for more documentation. === Usage === <syntaxhighlight> {{InfoboxNeue | snippet = <!-- Text that goes after "Quick facts: ", defaults to the page's root name --> | image = <!-- File name without namespace prefix --> | indicator = <!-- Indicator data, required for the other indicator arguments --> | indicatorClass = <!-- Indicator…”
  • 22:182025年8月2日 (六) 22:18 差异 历史 +90 InfoboxNeue 创建页面,内容为“<includeonly>{{#invoke:InfoboxNeue|fromArgs}}</includeonly><noinclude>{{/doc}}</noinclude>” 当前
  • 22:172025年8月2日 (六) 22:17 差异 历史 +3,018 FloatingUI 创建页面,内容为“--- Lua functions for Extension:FloatingUI --- --- WARNING --- ------- --- THIS IS AN EXPERIMENTAL MODULE MADE FOR AN EXPERIMENTAL EXTENSION --- THIS IS NOT READY FOR PRODUCTION AND SUBJECT TO CHANGE --- ------- local FloatingUI = {} --- Check if a string is empty --- --- @param str string --- @return boolean local function isStringEmpty( str ) return str == nil or str == '' end --- Return the HTML of the FloatingUI section component as string --- --- @…” 当前
  • 22:162025年8月2日 (六) 22:16 差异 历史 +14,298 InfoboxNeue/styles.css 创建页面,内容为“.infobox { margin-bottom: var(--space-md); width: 100%; max-width: 400px; border: 1px solid var(--border-color-base); border-radius: var(--border-radius-medium); background-color: transparent; font-size: var(--font-size-small); line-height: var(--line-height-xx-small); box-sizing: content-box; } .infobox[open] { background-color: var(--color-surface-1); } .infobox__content { position: relative; } .infobox__image { position: relative; margin-bott…” 当前
  • 22:152025年8月2日 (六) 22:15 差异 历史 +3,344 InfoboxNeue/example 创建页面,内容为“local p = {} local infobox = require( 'Module:InfoboxNeue' ):new() function p.makeComponentsExample() local sectionTable = {} infobox:renderImage( 'Pico at New Babbage 1 1.jpg' ) infobox:renderIndicator( { data = 'Indicator', desc = 'Indicator message', } ) infobox:renderHeader( { title = 'Title', subtitle = 'Subtitle' } ) sectionTable = { infobox:renderItem( { label = 'Item label', data = 'Item data' } ), infobox:renderItem( {…” 当前
  • 22:142025年8月2日 (六) 22:14 差异 历史 +5,594 InfoboxNeue/doc 创建页面,内容为“{{Documentation|scwShared=true}} This module is used by Lua modules to build infobox. == Components == {{#invoke:InfoboxNeue/example|makeComponentsExample}} === Image === <syntaxhighlight lang="lua"> infobox:renderImage( 'Pico at New Babbage 1 1.jpg' ) </syntaxhighlight> === Indicator === {| class="wikitable" ! Parameter !! Description !! Type !! Status |- | <code>data</code> || Data of the indicator || string || '''required''' |- | <code>desc</c…” 当前
  • 22:122025年8月2日 (六) 22:12 差异 历史 +20,450 InfoboxNeue 创建页面,内容为“local InfoboxNeue = {} local metatable = {} local methodtable = {} local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local i18n = require( 'Module:i18n' ):new() metatable.__index = methodtable metatable.__tostring = function ( self ) return tostring( self:renderInfobox() ) end --- Wrapper function for Module:i18n.translate --- --- @param key string The translation key --…” 当前
  • 22:122025年8月2日 (六) 22:12 差异 历史 +17,414 System 创建页面,内容为“local System = {} local Array = require( 'Module:Array' ) local Starmap = require( 'Module:Starmap_old' ) local Infobox = require( 'Module:InfoboxNeue' ) local TNT = require( 'Module:Translate' ):new() local config = mw.loadJsonData( 'Module:System/config.json' ) local lang if config[ 'module_lang' ] then lang = mw.getLanguage( config[ 'module_lang' ] ) else lang = mw.getContentLanguage() end local langCode = lang:getCode() --- Wrapper function for Module:…” 当前
  • 22:082025年8月2日 (六) 22:08 差异 历史 +1,187 Error 创建页面,内容为“-- Imported from: https://en.wikipedia.org/wiki/Module:Error -- This module implements {{error}}. local p = {} local function _error(args) local tag = string.lower(tostring(args.tag)) -- Work out what html tag we should use. if not (tag == 'p' or tag == 'span' or tag == 'div') then tag = 'strong' end -- Generate the html. return tostring(mw.html.create(tag) :addClass('error') :wikitext(tostring(args.message o…” 当前
  • 21:432025年8月2日 (六) 21:43 差异 历史 +89 DependencyList 创建页面,内容为“<includeonly>{{#invoke:DependencyList|main}}</includeonly><noinclude>{{/doc}}</noinclude>” 当前
  • 21:242025年8月2日 (六) 21:24 差异 历史 +2,766 DependencyList/i18n.json 创建页面,内容为“{ "license": "CC0-1.0", "description": { "en": "Translation table for the Module:DependencyList" }, "schema": { "fields": [ { "name": "id", "type": "string" }, { "name": "message", "type": "localized" } ] }, "data": [ [ "message_unused_module_title", { "de": "Dieses Modul wird nicht verwendet.", "en": "This module is unused." } ], [ "message_unused_module_desc", { "de": "Dieses Modul wird…”
  • 21:172025年8月2日 (六) 21:17 差异 历史 +8 Documentation/i18n.json 无编辑摘要
  • 21:052025年8月2日 (六) 21:05 差异 历史 −262 i18n 无编辑摘要 当前 标签手工回退
  • 21:032025年8月2日 (六) 21:03 差异 历史 +49 i18n 无编辑摘要 标签已被回退
  • 21:022025年8月2日 (六) 21:02 差异 历史 +213 i18n 无编辑摘要 标签已被回退
  • 20:562025年8月2日 (六) 20:56 差异 历史 +111 T/piece 创建页面,内容为“{{#ifeq: {{{1|---}}}|---|||<font color="gray">''<{{{1}}}>''</font>}}<noinclude> {{/doc}}</noinclude>” 当前
  • 20:522025年8月2日 (六) 20:52 差异 历史 −60 T 无编辑摘要 当前
  • 20:502025年8月2日 (六) 20:50 差异 历史 +7,938 i18n/category/en.json 创建页面,内容为“{ "category_documentation": "%s documentation", "category_error_item_missing_manufacturer": "Items missing manufacturer", "category_error_item_missing_uuid": "Items missing UUID", "category_error_pages_with_script_errors": "Pages with script errors", "category_error_item_missing_type_label": "Items missing type label", "category_error_item_missing_type_category": "Items missing type category", "category_ground_vehicle": "Ground vehicles", "category_grou…” 当前
  • 20:482025年8月2日 (六) 20:48 差异 历史 −5 Documentation/i18n.json 无编辑摘要
  • 20:402025年8月2日 (六) 20:40 差异 历史 +1,237 Documentation/i18n.json 无编辑摘要
  • 20:172025年8月2日 (六) 20:17 差异 历史 +3,842 Documentation/i18n.json 创建页面,内容为“{ "license": "CC0-1.0", "description": { "en": "Translation table for the Module:Documentation" }, "schema": { "fields": [ { "name": "id", "type": "string" }, { "name": "message", "type": "localized" } ] }, "data": [ [ "module", { "de": "Modul", "en": "module" } ], [ "template", { "de": "Vorlage", "en": "template" } ], [ "message_subpage_title", { "de": "Dies ist die D…”
  • 20:072025年8月2日 (六) 20:07 差异 历史 0 WikimediaUI-Alert.svg 无编辑摘要 当前
  • 20:052025年8月2日 (六) 20:05 差异 历史 0 WikimediaUI-ArticleDisambiguation-ltr.svg 无编辑摘要 当前
  • 20:052025年8月2日 (六) 20:05 差异 历史 0 Documentation 无编辑摘要 标签手工回退
  • 20:032025年8月2日 (六) 20:03 差异 历史 +3 Documentation/doc 无编辑摘要 当前
  • 20:032025年8月2日 (六) 20:03 差异 历史 −100 Documentation/doc 无编辑摘要
  • 19:532025年8月2日 (六) 19:53 差异 历史 0 WikimediaUI-Notice.svg 无编辑摘要 当前
  • 19:512025年8月2日 (六) 19:51 差异 历史 0 WikimediaUI-Code.svg 无编辑摘要 当前
  • 19:192025年8月2日 (六) 19:19 差异 历史 −39 Documentation 无编辑摘要 当前
  • 19:122025年8月2日 (六) 19:12 差异 历史 +60 T 文字替换 -“t/piece”替换为“T/piece​”
  • 19:082025年8月2日 (六) 19:08 差异 历史 0 Citizen.css 文字替换 -“documentation”替换为“Documentation” 当前
  • 19:082025年8月2日 (六) 19:08 差异 历史 0 Documentation 文字替换 -“documentation”替换为“Documentation” 标签已被回退
  • 19:082025年8月2日 (六) 19:08 差异 历史 0 Documentation/styles.css 文字替换 -“documentation”替换为“Documentation” 标签已被回退
  • 19:082025年8月2日 (六) 19:08 差异 历史 0 Documentation/doc 文字替换 -“documentation”替换为“Documentation”
  • 19:062025年8月2日 (六) 19:06 差异 历史 0 T 无编辑摘要
  • 19:022025年8月2日 (六) 19:02 差异 历史 0 Documentation/doc 无编辑摘要
  • 19:012025年8月2日 (六) 19:01 差异 历史 +1,226 Documentation/doc 创建页面,内容为“{{Documentation}} The '''documentation''' template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc". ==Usage== Place {{t|documentation}} at the top of the documentation page. If the page to be documented is a subpage, use {{t|documentation|pagename of page to be documented}} at the top of the documentation page. For example, Template:Foo/bar's documentation page would use {{t|documentation|Templ…”
  • 18:252025年8月2日 (六) 18:25 差异 历史 +93 Main page/navigation/doc 无编辑摘要
  • 18:192025年8月2日 (六) 18:19 差异 历史 +527 Hatnote/styles.css 创建页面,内容为“.hatnote-container { display: flex; align-items: center; padding: var(--space-sm) var(--space-md); margin-block: var(--space-md); background: var(--color-surface-1); border: 1px solid var(--border-color-base); border-radius: var(--border-radius-medium); font-size: var(--font-size-small); line-height: var(--line-height-xx-small); } .hatnote-icon img { display: block; width: var(--font-size-small); height: auto; margin-right: var(--space-xs); opaci…” 当前
  • 18:182025年8月2日 (六) 18:18 差异 历史 +1,636 Mbox/styles.css 创建页面,内容为“.mbox { position: relative; display: flex; flex-direction: column; margin-block: var(--space-md); background-color: var(--color-surface-1); border: var(--border-base); border-radius: var(--border-radius-medium); font-size: var(--font-size-small); line-height: var(--line-height-xx-small); } .mbox.mbox-high { background-color: var(--background-color-destructive-subtle); } .mbox.mbox-med { background-color: var(--background-color-warning-subtle); } .…” 当前
  • 18:182025年8月2日 (六) 18:18 差异 历史 +1,027 Documentation/styles.css 创建页面,内容为“.documentation { margin-top: var( --space-md ); padding-top: var( --space-md ); border-top: var( --border-base ); } .documentation-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .documentation-header, .documentation-subheader { line-height: 1.25; } .documentation-title { color: var( --color-emphasized ); font-size: var( --font-size-large ); font-weight: var( --font-w…”
  • 18:162025年8月2日 (六) 18:16 差异 历史 +2,817 Module toc 创建页面,内容为“-- Imported from: https://runescape.wiki/w/Module:Module%20toc -- <nowiki> local p = {} local function getNewlineLocations( content ) local locs = {} local pos = 0 repeat pos = string.find( content, '\n', pos + 1, true ) table.insert( locs, pos ) until not pos return locs end local function findLineNumber( pos, newLineLocs ) local max = #newLineLocs local min = 1 repeat local i = math.ceil( (max + mi…” 当前
  • 18:162025年8月2日 (六) 18:16 差异 历史 +16,309 DPLlua 创建页面,内容为“-- <nowiki> local dpl = {} local libraryUtil = require('libraryUtil') local hasContent = require('Module:Paramtest').has_content local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg dpl.pipe = '¦' local dataContentMarker = '`#@@#`' local allIncludedParamNames = {} -- Custom function for splitting a string because mw.text.split() is waaay too slow local function split( str, pattern, plain ) local res = {} loc…” 当前
  • 18:152025年8月2日 (六) 18:15 差异 历史 +8,604 Translate 创建页面,内容为“require( 'strict' ) local Translate = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local i18n = require( 'Module:i18n' ):new() --- Cache table containing i18n data at the 'data' key, and a key map at the 'keys' key --- The table is keyed by the i18n.json module name local cache = {} local i18nDataset = 'Module:Translate/i18n.json' --- Us…” 当前
  • 18:152025年8月2日 (六) 18:15 差异 历史 +4,443 i18n 创建页面,内容为“require( 'strict' ) local i18n = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType --- Cache table containing i18n data --- e.g. cache['en']['SMW'] will get you the SMW table in English local cache = {} --- Cache language codes for reuse local languages = {} --- Retrieve dataset namespace from key prefix --- --- @param key string The transla…”
  • 18:142025年8月2日 (六) 18:14 差异 历史 +1,880 Mbox 创建页面,内容为“local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local mError -- lazily initialise Module:Error local p = {} --- Helper function to throw error -- -- @param msg string - Error message -- -- @return string - Formatted error message in wikitext local function makeWikitextError( msg ) mError = require( 'Module:Error' ) return mError.error { message = 'Error…” 当前
  • 18:142025年8月2日 (六) 18:14 差异 历史 +6,520 Format link 创建页面,内容为“-- Imported from: https://en.wikipedia.org/wiki/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. -------------------------------…” 当前
最新 | 最旧) 查看( | )(20 | 50 | 100 | 250 | 500