Module:Lua banner:修订间差异
删除的内容 添加的内容
renderBox:文案「前缀基于以下Lua语言模块编写:」,内联、链接不带前缀 |
恢复 bulleted 列表,只改文案为「前缀基于以下Lua语言模块编写:」 |
||
第73行:
for i, module in ipairs(modules) do
local moduleName = mw.title.new(module).text
moduleLinks[i] = '[[:Module:
local maybeSandbox = mw.title.new(module .. '/sandbox')
if maybeSandbox and maybeSandbox.exists then
第79行:
end
end
local moduleList = mList.makeList('bulleted', moduleLinks)
local title = mw.title.getCurrentTitle()
if title.subpageText == 'doc' then
第91行 ⟶ 第92行:
prefix = '此页面'
end
boxArgs.text = prefix .. '基于以下[[Wikipedia:Lua|Lua语言]]模块编写:\n' ..
end
boxArgs.type = 'notice'
| |||