Module:Citation/CS1/Getauthorlink
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Documentation for this module may be created at Module:Citation/CS1/Getauthorlink/doc
--[[------------------< M O D U L E -------- I N F O >----------------------
]]
-- Author: User:Notjusttired
-- Credits: Based on Module:Citation/CS1/Utilities
-- Date: Jul 2019
-- Status: Not in use yet
-- Description: Automatically populated author-link and editor-link fields based on date extracted from Citoid by the other Citation modules
--
local u2 = {}
local z2 = {
error_categories = {}; --for categorizing citations that contain errors
error_ids = {};
message_tail = {};
maintenance_cats = {}; --for categorizing citations that aren't erroneous per se, but could use a little work
};
--[[--------------------------< F O R W A R D D E C L A R A T I O N S >--------------------------------------
]]
local cfg; --table of tables imported from selected Module:Citation/CS1/Configuration
--[[--------------------------< S E T _ S E L E C T E D _ M O D U L E S >--------------------------------------
Sets local cfg table to same (live or sandbox) as that used by the other modules.
]]
local function set_selected_modules (cfg_table_ptr)
cfg = cfg_table_ptr;
end
return { --return exported functions and tables
make_authorlink = make_authorlink,
z2 = z2
}