الفرق بين المراجعتين لصفحة: «وحدة:Navbar»

أُضيف ٥٢ بايت ،  ١١ ديسمبر ٢٠٢١
أنشأ الصفحة ب'local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then...'
ar>Wikivahdat
(remove unnecessary line)
 
(أنشأ الصفحة ب'local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then...')
سطر ٦٣: سطر ٦٣:
-- link_descriptions should be easier...
-- link_descriptions should be easier...
local link_descriptions = {
local link_descriptions = {
{ ['mini'] = 'v', ['full'] = 'view', ['html_title'] = 'View this template',
{ ['mini'] = 'ع', ['full'] = 'view', ['html_title'] = 'عرض هذا القالب',
['link'] = title.fullText, ['url'] = false },
['link'] = title.fullText, ['url'] = false },
{ ['mini'] = 't', ['full'] = 'talk', ['html_title'] = 'Discuss this template',
{ ['mini'] = 'ن', ['full'] = 'talk', ['html_title'] = 'ناقش هذا القالب',
['link'] = talkpage, ['url'] = false },
['link'] = talkpage, ['url'] = false },
{ ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template',
{ ['mini'] = 'ت', ['full'] = 'edit', ['html_title'] = 'عدل هذا القالب',
['link'] = title:fullUrl('action=edit'), ['url'] = true },
['link'] = title:fullUrl('action=edit'), ['url'] = true },
{ ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template',
{ ['mini'] = 'ت', ['full'] = 'hist', ['html_title'] = 'تاريخ هذا القالب',
['link'] = title:fullUrl('action=history'), ['url'] = true },
['link'] = title:fullUrl('action=history'), ['url'] = true },
{ ['mini'] = 'm', ['full'] = 'move', ['html_title'] = 'Move this template',
{ ['mini'] = 'ن', ['full'] = 'move', ['html_title'] = 'نقل هذا القالب',
['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'] = 'w', ['full'] = 'watch', ['html_title'] = 'Watch this template',  
{ ['mini'] = 'ر', ['full'] = 'watch', ['html_title'] = 'راقب هذا القالب',  
['link'] = title:fullUrl('action=watch'), ['url'] = true }
['link'] = title:fullUrl('action=watch'), ['url'] = true }
}
}
٤٬٩٤١

تعديل