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 680: Line 680:




--[[--------------------------< S E T _ C F G >----------------------------------------------------------------
--[[--------------------------< S E T _ S E L E C T E D _ M O D U L E S >--------------------------------------


Sets local cfg table to same as that used by the other modules
Sets local cfg table and imported functions table to same (live or sandbox) as that used by the other modules.


]]
]]
local utilities;


local function set_cfg (cfg_table_ptr, utilities_page_ptr)
local function set_selected_modules (cfg_table_ptr, utilities_page_ptr)
cfg = cfg_table_ptr;
cfg = cfg_table_ptr;
-- utilities = require ('Module:Citation/CS1/Utilities');
 
utilities = utilities_page_ptr;
is_set = utilities_page_ptr.is_set; -- import functions from select Module:Citation/CS1/Utilities module
is_set = utilities.is_set ; -- functions in Module:Citation/CS1/Utilities
in_array = utilities_page_ptr.in_array;
in_array = utilities.in_array;
set_error = utilities_page_ptr.set_error;
set_error = utilities.set_error;
select_one = utilities_page_ptr.select_one;
select_one = utilities.select_one;
add_maint_cat = utilities_page_ptr.add_maint_cat;
add_maint_cat = utilities.add_maint_cat;
 
z = utilities_page_ptr.z;
z = utilities_page_ptr.z; -- table of tables in Module:Citation/CS1/Utilities
end
end


Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.