Module:Citation/CS1: Difference between revisions

sync to sandbox, this creates temporary transitional hidden error for cite web archiveurl. This will be merged into the visible archiveurl errors next week or so.
m>Dragons flight
(sync to sandbox, add additional redundant parameters checks, check for malformed URLs, removal of wikilinks in COinS data, and various code formatting.)
m>Dragons flight
(sync to sandbox, this creates temporary transitional hidden error for cite web archiveurl. This will be merged into the visible archiveurl errors next week or so.)
Line 1,291: Line 1,291:
                 if config.CitationClass ~= 'web' then  
                 if config.CitationClass ~= 'web' then  
                     Archived = sepc .. " " .. arch_text .. " " .. cfg.message_list['from'] .. " " ..  
                     Archived = sepc .. " " .. arch_text .. " " .. cfg.message_list['from'] .. " " ..  
                     seterror('archive_missing_url') .. " " .. cfg.message_list['on'] .. ArchiveDate
                     cfg.message_list['original'] .. seterror('archive_missing_url') .. " " .. cfg.message_list['on'] .. ArchiveDate
                 else
                 else
                     Archived = sepc .. " " .. arch_text .. " " .. cfg.message_list['from'] ..  
                     Archived = sepc .. " " .. arch_text .. " " .. cfg.message_list['from'] .. " " ..  
                        " " .. cfg.message_list['original'] .. " " ..  
                    cfg.message_list['original'] .. seterror('archive_missing_url_web') .. " " .. cfg.message_list['on'] .. ArchiveDate
                        cfg.message_list['on'] .. ArchiveDate
                 end
                 end
             end                 
             end                 
Anonymous user