Module:Citation/CS1/COinS: Difference between revisions
| Richardpruen (talk | contribs) m 1 revision imported: Template for journal  |  update per RfC; | ||
| Line 1: | Line 1: | ||
| --[[--------------------------< F O R W A R D   D E C L A R A T I O N S >-------------------------------------- | --[[--------------------------< F O R W A R D   D E C L A R A T I O N S >-------------------------------------- | ||
| ]] | ]] | ||
| local is_set, in_array, remove_wiki_link, strip_apostrophe_markup;	 | local has_accept_as_written, is_set, in_array, remove_wiki_link, strip_apostrophe_markup;	-- functions in Module:Citation/CS1/Utilities | ||
| local cfg;																		-- 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 | ||
| Line 18: | Line 17: | ||
| local function make_coins_title (title, script) | local function make_coins_title (title, script) | ||
| 	title = has_accept_as_written (title); | |||
| 	if is_set (title) then | 	if is_set (title) then | ||
| 		title = strip_apostrophe_markup (title);								-- strip any apostrophe markup | 		title = strip_apostrophe_markup (title);								-- strip any apostrophe markup | ||
| Line 302: | Line 302: | ||
| 	cfg = cfg_table_ptr; | 	cfg = cfg_table_ptr; | ||
| 	has_accept_as_written = utilities_page_ptr.has_accept_as_written;			-- import functions from selected Module:Citation/CS1/Utilities module | |||
| 	is_set = utilities_page_ptr.is_set; | |||
| 	in_array = utilities_page_ptr.in_array; | 	in_array = utilities_page_ptr.in_array; | ||
| 	remove_wiki_link = utilities_page_ptr.remove_wiki_link; | 	remove_wiki_link = utilities_page_ptr.remove_wiki_link; | ||