小
// 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
|