Module:SiteList: Difference between revisions

115 bytes removed ,  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') then
ifurl = site.archiveURL and site.archiveURL ~= '' thenand site.archiveURL or site.label
url = site.archiveURL
else
url = '' -- clear the url if the archiveURL is not present
end
end