الفرق بين المراجعتين لصفحة: «وحدة:Navbar»
اذهب إلى التنقل
اذهب إلى البحث
(إرجاع للتجربة) |
(remove unnecessary line) |
||
سطر ٦٣: | سطر ٦٣: | ||
-- link_descriptions should be easier... | -- link_descriptions should be easier... | ||
local link_descriptions = { | local link_descriptions = { | ||
{ ['mini'] = ' | { ['mini'] = 'v', ['full'] = 'view', ['html_title'] = 'View this template', | ||
['link'] = title.fullText, ['url'] = false }, | ['link'] = title.fullText, ['url'] = false }, | ||
{ ['mini'] = ' | { ['mini'] = 't', ['full'] = 'talk', ['html_title'] = 'Discuss this template', | ||
['link'] = talkpage, ['url'] = false }, | ['link'] = talkpage, ['url'] = false }, | ||
{ ['mini'] = ' | { ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template', | ||
['link'] = title:fullUrl('action=edit'), ['url'] = true }, | ['link'] = title:fullUrl('action=edit'), ['url'] = true }, | ||
{ ['mini'] = ' | { ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template', | ||
['link'] = title:fullUrl('action=history'), ['url'] = true }, | ['link'] = title:fullUrl('action=history'), ['url'] = true }, | ||
{ ['mini'] = ' | { ['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 }, | ||
{ ['mini'] = ' | { ['mini'] = 'w', ['full'] = 'watch', ['html_title'] = 'Watch this template', | ||
['link'] = title:fullUrl('action=watch'), ['url'] = true } | ['link'] = title:fullUrl('action=watch'), ['url'] = true } | ||
} | } |