Jump to content

Module:Citation/CS1/Identifiers: Difference between revisions

no edit summary
m>Trappist the monk
No edit summary
m>Trappist the monk
No edit summary
Line 13: Line 13:
local z ={}; -- tables in Module:Citation/CS1/Utilities
local z ={}; -- tables in Module:Citation/CS1/Utilities


local cfg = mw.loadData ('Module:Citation/CS1/Configuration/sandbox'); -- table of configuration tables that are defined in Module:Citation/CS1/Configuration
local cfg; -- table of configuration tables that are defined in Module:Citation/CS1/Configuration


--[[--------------------------< E X T E R N A L _ L I N K _ I D >----------------------------------------------
--[[--------------------------< E X T E R N A L _ L I N K _ I D >----------------------------------------------
Line 682: Line 682:
return id_list;
return id_list;
end
end
--[[--------------------------< S E T _ C F G >----------------------------------------------------------------
Sets cfg table to use either the live version or the sandbox version of Module:Citation/CS1/Configuration
]]
local function set_cfg (sandbox)
if sandbox then
cfg = mw.loadData ('Module:Citation/CS1/Configuration/sandbox');
else
cfg = mw.loadData ('Module:Citation/CS1/Configuration');
end
end




Line 687: Line 703:
build_id_list = build_id_list,
build_id_list = build_id_list,
extract_ids = extract_ids,
extract_ids = extract_ids,
set_cfg = set_cfg;
}
}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.