模块:Navbar:修订间差异

删除15字节 、​ 2021年6月20日 (星期日)
无编辑摘要
无编辑摘要
无编辑摘要
 
第88行: 第88行:
if show[2] then p.addItem('讨论', 'talk', talkpage, 'Discuss', args) end
if show[2] then p.addItem('讨论', 'talk', talkpage, 'Discuss', args) end
if show[3] then p.addItem('编辑', 'edit', title:fullUrl('action=edit'), 'Edit', args, true) end
if show[3] then p.addItem('编辑', 'edit', title:fullUrl('action=edit'), 'Edit', args, true) end
if show[4] then p.addItem('历史', 'hist', title:fullUrl('action=history'), 'History of', args, true) end
if show[4] then p.addItem('h', 'hist', title:fullUrl('action=history'), 'History of', args, true) end
if show[5] then
if show[5] then
local move = mw.title.new ('Special:Movepage')
local move = mw.title.new ('Special:Movepage')
p.addItem('移动', 'move', move:fullUrl('target='..title.fullText), 'Move', args, true) end
p.addItem('m', 'move', move:fullUrl('target='..title.fullText), 'Move', args, true) end
if show[6] then p.addItem('查看', 'watch', title:fullUrl('action=watch'), 'Watch', args, true) end
if show[6] then p.addItem('w', 'watch', title:fullUrl('action=watch'), 'Watch', args, true) end
p.brackets('left', ' ]', args, div)
p.brackets('left', ' ]', args, div)