Content deleted Content added
added dotted underline to tooltips and closed span |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5:
local ROOT_PAGE = 'Module:Find sources'
local TEMPLATE_ROOT = ROOT_PAGE .. '/templates/' -- for template config modules
local
local CONFIG_PAGE = ROOT_PAGE .. '/config' -- for global config
Line 45:
-- Get link config.
local
local linkCfg = links[code]
if not linkCfg then
error(string.format(
"invalid link code '%s'; no link config found at [[%s]]",
code,
LINK_CONFIG
))
end
Line 82 ⟶ 83:
-- Get the template config.
local templateCfgPage = TEMPLATE_ROOT .. template .. '/sandbox'
local templateCfg = maybeLoadData(templateCfgPage)
if not templateCfg then
Line 136 ⟶ 137:
' '
)
local
introLink = p._renderLink(code, searchTerms, display, tooltip)
else
|