Module:Navbar: Difference between revisions
m Protected "Module:Navbar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
m 1 revision imported: some changes are needed ; like removing link to UTRS |
||
Line 68: | Line 68: | ||
['link'] = talkpage, ['url'] = false }, | ['link'] = talkpage, ['url'] = false }, | ||
{ ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template', | { ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template', | ||
['link'] = ' | ['link'] = title:fullUrl('action=edit'), ['url'] = true }, | ||
{ ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template', | { ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template', | ||
['link'] = ' | ['link'] = title:fullUrl('action=history'), ['url'] = true }, | ||
{ ['mini'] = 'm', ['full'] = 'move', ['html_title'] = 'Move this template', | { ['mini'] = 'm', ['full'] = 'move', ['html_title'] = 'Move this template', | ||
['link'] = mw.title.new('Special:Movepage'):fullUrl('target='..title.fullText), ['url'] = true }, | ['link'] = mw.title.new('Special:Movepage'):fullUrl('target='..title.fullText), ['url'] = true }, | ||
Line 151: | Line 151: | ||
end | end | ||
return mw.getCurrentFrame():extensionTag{ | |||
name = 'templatestyles', args = { src = cfg.templatestyles } | name = 'templatestyles', args = { src = cfg.templatestyles } | ||
} .. tostring(div:done()) | } .. tostring(div:done()) |