Module:SiteList: Difference between revisions

138 bytes added ,  23 July 2023
no edit summary
No edit summary
No edit summary
 
-- Check if the site is archived
if site.archived and (site.archived == 'yes' or site.archived == 'y') and site.archiveURL and site.archiveURL ~= '' then
urlif =site.archiveURL and site.archiveURL ~= '' then
url = site.archiveURL
else
url = '' -- reset url if site is archived and archiveURL is not set
end
end