Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
avoid excess spaces, also coding seems unnecessary here
add escaping of url arguments
வரிசை 75:
local t1 = hideinprint("[" .. id .. " " .. nowiki(frame, id) .. "]")
return t0 .. t1
end
 
function safeforurl( str )
return str:replace('[','['):replace(']',']')
end
 
வரி 566 ⟶ 570:
if ( ChapterLink == nil ) then
if ( ChapterURL and "" < ChapterURL ) then
Chapter = "[" .. ChapterURL .. " " .. safeforurl( Chapter ) .. "]"
elseif ( URL and "" < URL ) then
Chapter = "[" .. URL .. " " .. safeforurl( Chapter ) .. "]"
URL = nil
end
வரி 589 ⟶ 593:
Title = Title .. TransTitle
if ( TitleLink == nil and URL and "" < URL ) then
Title = "[" .. URL .. " " .. safeforurl( Title ) .. "]"
URL = nil
end
வரி 597 ⟶ 601:
if ( Conference ~= nil and Conference ~="" ) then
if ( ConferenceURL ~= nil ) then
Conference = "[" .. ConferenceURL .. " " .. safeforurl( Conference ) .. "]"
end
Conference = " " .. Conference
"https://tamilar.wiki/w/Module:Citation/CS1" இலிருந்து மீள்விக்கப்பட்டது