Module:Citation/CS1: Difference between revisions
sync to sandbox, fixes a problem that can cause a script error in rare circumstances
m>Dragons flight (oops) |
m>Dragons flight (sync to sandbox, fixes a problem that can cause a script error in rare circumstances) |
||
Line 1,085: | Line 1,085: | ||
local OriginalURL = URL | local OriginalURL = URL | ||
DeadURL = DeadURL:lower(); | DeadURL = DeadURL:lower(); | ||
if ( | if is_set( ArchiveURL ) then | ||
if ( DeadURL ~= "no" ) then | if ( DeadURL ~= "no" ) then | ||
URL = ArchiveURL | URL = ArchiveURL | ||
URLorigin = A:ORIGIN('ArchiveURL') | |||
end | end | ||
end | end |