2,717
个编辑
NegativeTriu(讨论 | 贡献) 小无编辑摘要 |
NegativeTriu(讨论 | 贡献) 小无编辑摘要 |
||
| 第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(' | 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(' | p.addItem('m', 'move', move:fullUrl('target='..title.fullText), 'Move', args, true) end | ||
if show[6] then p.addItem(' | 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) | ||