Module:Citation/CS1: Difference between revisions
m
casting urlavs to url
(tentatively adding url-avs) |
m (casting urlavs to url) |
||
Line 2,839: | Line 2,839: | ||
local URL = A['URL']; -- TODO: better way to do this for URL, ChapterURL, and MapURL? | local URL = A['URL']; -- TODO: better way to do this for URL, ChapterURL, and MapURL? | ||
local URLAVS = A['URL-AVS']; | local URLAVS = A['URL-AVS']; | ||
if utilities.is_set (URLAVS) then | |||
URL = URLAVS; | |||
end | |||
local UrlAccess = is_valid_parameter_value (A['UrlAccess'], A:ORIGIN('UrlAccess'), cfg.keywords_lists['url-access'], nil); | local UrlAccess = is_valid_parameter_value (A['UrlAccess'], A:ORIGIN('UrlAccess'), cfg.keywords_lists['url-access'], nil); | ||