Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
removed PMC url when empty URL. |
for config.CitationClass == "journal" reset empty URL to use PMC url if any. |
||
வரிசை 335:
local sepc = args.separator
if ( config.CitationClass == "
if (URL == nil or URL == "") then
if (PMC ~= nil and PMC ~="")
then URL="http://www.ncbi.nlm.nih.gov/pmc/articles/PMC" .. PMC
else URL=""
end
end
end
if ( config.CitationClass == "citation" ) then sepc = "," end
if ( sepc == nil ) then sepc = "." end
if ( DeadURL == nil ) then DeadURL = "no" end
வரி 686 ⟶ 694:
else ArchiveDate = "" end
if ( "no" == DeadURL ) then
Archived = " [" .. ArchiveURL .. " Archived] from the original on" .. ArchiveDate
else
Archived = sepc .. " Archived from [" .. args.url .. " the original] on" .. ArchiveDate
end
else
| |||