Difference between pages "Module:Navbar" and "Module:Navbar/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
(Blackwikiadmin changed the content model of the page Module:Navbar from "wikitext" to "Scribunto") Tag: content model change |
m (58 revisions imported) |
||
| Line 87: | Line 87: | ||
if show[1] then p.addItem('v', 'view', title.fullText, 'View', args) end | if show[1] then p.addItem('v', 'view', title.fullText, 'View', args) end | ||
if show[2] then p.addItem('t', 'talk', talkpage, 'Discuss', args) end | if show[2] then p.addItem('t', 'talk', talkpage, 'Discuss', args) end | ||
| − | if show[3] then p.addItem('e', 'edit', | + | if show[3] then p.addItem('e', 'edit', 'Special:Edit/'..title.fullText, 'Edit', args) end |
| − | if show[4] then p.addItem('h', 'hist', | + | if show[4] then p.addItem('h', 'hist', 'Special:PageHistory/'..title.prefixedText, 'History of', args) end |
if show[5] then | if show[5] then | ||
local move = mw.title.new ('Special:Movepage') | local move = mw.title.new ('Special:Movepage') | ||