Module:Citation/CS1: Difference between revisions
Treat PublicationDate as Date is Date is absent
m>Dragons flight (Use empty spans rather than spaces) |
m>Dragons flight (Treat PublicationDate as Date is Date is absent) |
||
Line 550: | Line 550: | ||
end | end | ||
if ( PublicationDate == Date or PublicationDate == Year ) then PublicationDate = nil end | if ( PublicationDate == Date or PublicationDate == Year ) then PublicationDate = nil end | ||
if( (Date == nil or Date == "") and PublicationDate ~= nil ) then | |||
Date = PublicationDate; | |||
PublicationDate = nil; | |||
end | |||
if ( ArchiveURL and "" < ArchiveURL ) then | if ( ArchiveURL and "" < ArchiveURL ) then | ||
if ( DeadURL ~= "no" ) then | if ( DeadURL ~= "no" ) then |