Module:Find sources and Module:Find sources/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
m Changed protection settings for "Module:Find sources": re-raise, 1.5million transclusions and no edits from the EXCON editor ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
No edit summary |
||
Line 5: | Line 5: | ||
local ROOT_PAGE = 'Module:Find sources' |
local ROOT_PAGE = 'Module:Find sources' |
||
local TEMPLATE_ROOT = ROOT_PAGE .. '/templates/' -- for template config modules |
local TEMPLATE_ROOT = ROOT_PAGE .. '/templates/' -- for template config modules |
||
local LINK_CONFIG = ROOT_PAGE .. '/links' -- for link config modules |
local LINK_CONFIG = ROOT_PAGE .. '/links/sandbox' -- for link config modules |
||
local CONFIG_PAGE = ROOT_PAGE .. '/config' -- for global config |
local CONFIG_PAGE = ROOT_PAGE .. '/config' -- for global config |
||
Line 83: | Line 83: | ||
-- Get the template config. |
-- Get the template config. |
||
local templateCfgPage = TEMPLATE_ROOT .. template |
local templateCfgPage = TEMPLATE_ROOT .. template .. '/sandbox' |
||
local templateCfg = maybeLoadData(templateCfgPage) |
local templateCfg = maybeLoadData(templateCfgPage) |
||
if not templateCfg then |
if not templateCfg then |