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 | --[[--------------------------< 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 function | local function set_selected_modules (cfg_table_ptr, utilities_page_ptr) | ||
cfg = cfg_table_ptr; | cfg = cfg_table_ptr; | ||
is_set = utilities_page_ptr.is_set; -- import functions from select Module:Citation/CS1/Utilities module | |||
in_array = utilities_page_ptr.in_array; | |||
in_array = | set_error = utilities_page_ptr.set_error; | ||
set_error = | select_one = utilities_page_ptr.select_one; | ||
select_one = | add_maint_cat = utilities_page_ptr.add_maint_cat; | ||
add_maint_cat = | |||
z = utilities_page_ptr.z; | z = utilities_page_ptr.z; -- table of tables in Module:Citation/CS1/Utilities | ||
end | end | ||