Editing Module:Navbar
Appearance
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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'] = 'Special:EditPage/' .. title.fullText, ['url'] = false }, | ||
{ ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template', | { ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template', | ||
['link'] = | ['link'] = 'Special:PageHistory/' .. title.fullText, ['url'] = false }, | ||
{ ['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 | ||
local frame = mw.getCurrentFrame() | |||
-- hlist -> navbar is best-effort to preserve old Common.css ordering. | |||
return frame:extensionTag{ | |||
name = 'templatestyles', args = { src = cfg.hlist_templatestyles } | |||
} .. frame:extensionTag{ | |||
name = 'templatestyles', args = { src = cfg.templatestyles } | name = 'templatestyles', args = { src = cfg.templatestyles } | ||
} .. tostring(div:done()) | } .. tostring(div:done()) |