We don't have exchange and data page
starcitizen>Alistair3149 Немає опису редагування |
starcitizen>Alistair3149 (We don't have exchange and data page) |
||
| Рядок 586: | Рядок 586: | ||
local title = mw.title.getCurrentTitle() | local title = mw.title.getCurrentTitle() | ||
-- Leave early if not in module or template namespace | -- Leave early if not in module or template namespace | ||
if param.is_empty( currentPageName ) and | if param.is_empty( currentPageName ) and | ||
( not arr.contains( {'Module', 'Template'}, title.nsText ) ) then | ( not arr.contains( {'Module', 'Template'}, title.nsText ) ) then | ||
| Рядок 619: | Рядок 619: | ||
namespace = 'Module', | namespace = 'Module', | ||
linksto = currentPageName, | linksto = currentPageName, | ||
nottitlematch = '%/doc | nottitlematch = '%/doc%|' .. currentPageName:gsub( 'Module:', '' ), | ||
distinct = 'strict', | distinct = 'strict', | ||
ignorecase = true, | ignorecase = true, | ||