Aladedalu的用户贡献
更多操作
2026年1月30日 (星期五)
- 14:072026年1月30日 (五) 14:07 差异 历史 +1,607 新 模块:Featured picture list 创建页面,内容为“local randoms = mw.loadData 'Module:Featured picture list/randoms' local dates = mw.loadData 'Module:Featured picture list/dates' local p = {} function p.main(frame) local lang = mw.language.getContentLanguage() local year = lang:formatDate('Y', nil, true) local month = lang:formatDate('n', nil, true) local day = lang:formatDate('j', nil, true) if dates[year] and dates[year][month] and dates[year][month][day] then return frame:preprocess(dates[year][m…” 当前
- 14:072026年1月30日 (五) 14:07 差异 历史 +1,160 新 模块:Featured picture list/dates 创建页面,内容为“return { ['any'] = { ['1'] = { ['1'] = [=[{{Qiuwen:每日影像展示/1月1日}}]=] }, ['3'] = { ['5'] = [=[{{Qiuwen:每日影像展示/3月5日}}]=] }, ['4'] = { ['23'] = [=[{{Qiuwen:每日影像展示/4月23日}}]=] }, ['7'] = { ['16'] = [=[{{Qiuwen:每日影像展示/7月16日}}]=] }, ['8'] = { ['15'] = [=[{{Qiuwen:每日影像展示/8月15日}}]=] }, ['9'] = { ['30'] = [=[{{Qiuwen:每日影像展示/9月30日}}]=]…” 当前
- 14:062026年1月30日 (五) 14:06 差异 历史 +12,190 新 模块:Featured picture list/randoms 创建页面,内容为“local randoms = { 'Qiuwen:每日影像展示/11月12日', 'Qiuwen:每日影像展示/11月13日', 'Qiuwen:每日影像展示/11月14日', 'Qiuwen:每日影像展示/11月15日', 'Qiuwen:每日影像展示/11月16日', 'Qiuwen:每日影像展示/11月17日', 'Qiuwen:每日影像展示/11月18日', 'Qiuwen:每日影像展示/11月19日', 'Qiuwen:每日影像展示/11月20日', 'Qiuwen:每日影像展示/11月21日', 'Qiuwen:每日影像展示/11月22日', 'Qiuwen…” 当前
- 14:062026年1月30日 (五) 14:06 差异 历史 +1,108 新 模块:Fullurl 创建页面,内容为“local p = {} local yesno = require('Module:Yesno') local getArgs = require "Module:Arguments".getArgs function p._fullurl(args) local args = mw.clone(args) local onlyurl = yesno(args.onlyurl) args.onlyurl = nil local title = args['title'] or args[1] or tostring(mw.title.getCurrentTitle()) if title == '' then -- 不能讓title變空值,否則url會返回nil title = tostring(mw.title.getCurrentTitle()) end local url, text if args[3] then url = to…” 当前
- 14:052026年1月30日 (五) 14:05 差异 历史 +6,871 新 模块: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.…” 当前
- 14:052026年1月30日 (五) 14:05 差异 历史 +814 新 模块:If mobile 创建页面,内容为“local p = {} function p._main(args) local frame = mw.getCurrentFrame() local root = mw.html.create() if args["Tag"] then args["tag"] = args["Tag"] end local ifmobile = root:tag(args["tag"] or 'span') ifmobile :addClass('ifmobile') local nomobile = ifmobile:tag(args["tag"] or 'span') local mobile = ifmobile:tag(args["tag"] or 'span') nomobile :addClass('nomobile') :wikitext(args[2]) mo…” 当前
- 14:042026年1月30日 (五) 14:04 差异 历史 +10,331 新 模块:InfoboxImage 创建页面,内容为“-- 输入: - 輸入: -- image - 纯文件名(带有File:/Image:前缀与否皆可)或完全格式化的图片链接 - 純檔案名(帶有File:/Image:字首與否皆可)或完全格式化的圖片連結 -- page - page to display for multipage images (DjVu) -- size - 显示图像大小 - 顯示影像大小 -- maxsize - 图像最大大小 - 影像最大大小 -- sizedefault - 如果size参数留空,默认显示图像大小 - 如果size…” 当前
- 14:032026年1月30日 (五) 14:03 差异 历史 +9,194 新 模块:List 创建页面,内容为“-- This module outputs different kinds of lists. At the moment, bulleted, -- unbulleted, horizontal, ordered, and horizontal ordered lists are supported. -- local libUtil = require('libraryUtil') -- local checkType = libUtil.checkType local TableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true, concat = true, list_t…” 当前
- 14:032026年1月30日 (五) 14:03 差异 历史 +3,279 新 模块:Page name 创建页面,内容为“local p = {} local getArgs = require 'Module:Arguments'.getArgs local yesno = require 'Module:yesno' function p.convert(variant, simplified, traditional, taiwan, transfer) -- 0允许繁简转换 -- -1强制简体 -- 1强制繁体 -- 2强制台湾繁体 if not traditional then return simplified elseif variant == 2 then return taiwan or traditional elseif variant == 1 then return traditional elseif variant == -1 then return simplified else -- if…” 当前
- 14:022026年1月30日 (五) 14:02 差异 历史 +19,145 新 模块: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…” 当前
- 13:592026年1月30日 (五) 13:59 差异 历史 +983 新 模板:NoteTA/MediaWiki 创建页面,内容为“<noinclude>{{pp-template|small=yes}}</noinclude>{{#if:{{NAMESPACE}} |<includeonly>{{NoteTA |T = {{{T|}}} |G1 = {{{G1|}}} |G2 = {{{G2|}}} |G3 = {{{G3|}}} |G4 = {{{G4|}}} |G5 = {{{G5|}}} |G6 = {{{G6|}}} |G7 = {{{G7|}}} |G8 = {{{G8|}}} |G9 = {{{G9|}}} |G10 = MediaWiki_special |1 = {{{1|}}} |2 = {{{2|}}} |3 = {{{3|}}} |4 = {{{4|}}} |5 = {{{5|}}} |6 = {{{6|}}} |7 = {{{7|}}} |8 = {{{8|}}} |9 = {{{9|}}} |10 = {{{10|}}} |11 = {{{11|}}} |12 = {{{12|}}} |13 = {{{13|}}} |…” 当前
- 13:562026年1月30日 (五) 13:56 差异 历史 +1,327 新 模板:Uses Lua/doc 创建页面,内容为“{{NoteTA/MediaWiki}} 本模板用于标示使用Lua语言编译的模板,可放置于模板的文档及讨论页,并将模板自动归类于Category:基于Lua模块编写的模板。 == 用法 == ; 基本用法 {{tlx|Uses Lua|模块1|模块2|...}} 其中參數<code>-{zh-cn:模块;zh-tw:模組}-1</code>為必填 == 示例 == {{tlc|Uses Lua|Test}} {{Uses Lua|Test|nocat=true}} 連到1個模块。 {{Clear}} {{tlc|Uses Lua|Test|BananasArgs}} {{Use…” 当前
- 13:542026年1月30日 (五) 13:54 差异 历史 +10,269 新 模块:TableTools/doc 创建页面,内容为“{{NoteTA|G1=IT}} 本模块包含一系列用于处理Lua表的函数。这是个元模块,用于其他Lua模块调用,而不应该由#invoke直接调用。 == 加载模块 == 如需加载任何函数,首先需要加载模块。 <syntaxhighlight lang="lua"> local TableTools = require('Module:TableTools') </syntaxhighlight> == isPositiveInteger == <syntaxhighlight lang="lua"> TableTools.isPositiveInteger(value) </syntaxhighlight> 如果<code>''value'…” 当前
- 03:282026年1月30日 (五) 03:28 差异 历史 +6,991 新 模板:NoteTA 创建页面,内容为“{{NoteTA |G1=IT |G2=MediaWiki }} {{lua|Module:NoteTA}} {{字詞轉換索引}} 本模板用来在一個頁面裡,轉換不同地區的翻譯用語或指定特定的標題。加入此模板的页面顶部会出现NoteTA(-{zh:35px|本页使用了标题或全文手工转换,现处于不转换模式|link=;zh-hans:35px|本页使用了标题或全文手工转换,现处于简体转换模式|link=;zh-cn…” 当前
- 03:242026年1月30日 (五) 03:24 差异 历史 +12,254 新 模块: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 #inv…” 当前
- 03:212026年1月30日 (五) 03:21 差异 历史 +853 新 模块:Yesno 创建页面,内容为“-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y'…” 当前
- 02:162026年1月30日 (五) 02:16 差异 历史 −210 MediaWiki:Sidebar 无编辑摘要 当前
- 02:112026年1月30日 (五) 02:11 差异 历史 +410 新 MediaWiki:Sidebar 创建页面,内容为“* navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randomga-url|randompage <!--** randompage-url|randompage--> <!--** specialpages-url|specialpages--> * collaboration ** teahouse-url|teahouse ** noticeboard-url|noticeboard ** wanshan-url|wanshan * help ** helppage|help ** helpindex-url|helpindex ** policy-url|policy ** conversion-url|conversion * SEARCH * TOOLBOX * LANGUAGES”
2026年1月29日 (星期四)
- 22:292026年1月29日 (四) 22:29 差异 历史 −743 MediaWiki:Common.js 清空全部内容 当前 标签:清空
- 22:222026年1月29日 (四) 22:22 差异 历史 +743 新 MediaWiki:Common.js 创建页面,内容为“/** * +------------------------------------------------------------+ * | === WARNING: GLOBAL GADGET FILE === | * +------------------------------------------------------------+ * | All changes should be made in the repository, | * | otherwise they will be lost. | * +------------------------------------------------------------+ * | Changes to this page may affect many users. |…”