Changes

Jump to navigation Jump to search
m
1 revision imported
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'] = title:fullUrl('action=edit'), ['url'] = true },
+
['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'] = title:fullUrl('action=history'), ['url'] = true },
+
['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
 
 
return mw.getCurrentFrame():extensionTag{
+
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())
confirmed, superuser, Administrators
667

edits

Navigation menu