欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW。欢迎加入QQ频道:r01m9y3iz6。请先至特殊:参数设置验证邮箱后再进行编辑。在特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。
模块:Documentation:修订间差异
来自奇葩栖息地
小
// Edit via InPageEdit
SkyEye FAST(讨论 | 贡献) (建立内容为“local p = {} local defaultDocPage = 'doc' local getType = function( namespace, page ) local pageType = 'template' if namespace == '模块' then pageType = 'm…”的新页面) |
SkyEye FAST(讨论 | 贡献) 小 (// Edit via InPageEdit) |
||
第44行:
local out
if not args.content and tostring( page ) == docPage then
out = f:preprocess( '{{subst:
else
local templateArgs = {}
第67行:
out = f:preprocess( out )
if not args.nocat then
out = out .. '[[
end
end
第105行:
pageType == 'module' and '将' or '应该',
'被放置到[[', namespace, ':',page.baseText,
']],查看[[
)
if badDoc then
第111行:
end
if not ( args.nocat or namespace == 'User' ) then
body:wikitext( '[[
end
第164行:
if noDoc then
action = '创建'
preload = '&preload=
classes = ' documentation-nodoc'
message = "'''此" .. pageTypeDisplay .. "没有文档页面。" ..
第170行:
if not ( args.nocat or namespace == 'User' ) then
category = '没有文档的' .. pageTypeDisplay
if not mw.title.new( '
category = '没有文档的页面'
end
第179行:
if not ( args.nocat or namespace == 'User' ) then
category = '文档质量较低的' .. pageTypeDisplay
if not mw.title.new( '
category = '文档质量较低的页面'
end
第249行:
if category then
body:wikitext( '[[
end
|