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

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
No edit summary
..more tracking
வரிசை 9:
local p = {}
 
--[[--------------------------< inline_errorinlineError >-----------------------
 
Critical error. Render output completely in red. Add to tracking category.
Typically called: return p.inline_error(...)
 
]]
 
local function inline_errorinlineError(arg, msg)
 
track["Category:Webarchive template errors"] = 1
வரி 89 ⟶ 88:
c = c - 61
else -- How comes?
r = nil1
break -- for i
end
வரி 97 ⟶ 96:
end
return r
end -- base62()
 
--[[--------------------------< tableLength >-----------------------
வரி 328 ⟶ 327:
ulx.url1.service = "wayback"
ulx.url1.tail = " at the " .. bracketopen .. "Wayback Machine" .. bracketclose
track["Category:Webarchive template wayback links"] = 1
elseif mw.ustring.find( host, "webcitation.org", 1, plain ) then
ulx.url1.service = "webcite"
ulx.url1.tail = " at " .. bracketopen .. "WebCite" .. bracketclose
track["Category:Webarchive template webcite links"] = 1
elseif mw.ustring.find( host, "archive.is", 1, plain ) then
ulx.url1.service = "archiveis"
ulx.url1.tail = " at " .. bracketopen .. "Archive.is" .. bracketclose
track["Category:Webarchive template archiveis links"] = 1
elseif mw.ustring.find( host, "archive.today", 1, plain ) then
ulx.url1.service = "archiveis"
ulx.url1.tail = " at " .. bracketopen .. "Archive.is" .. bracketclose
track["Category:Webarchive template archiveis links"] = 1
elseif mw.ustring.find( host, "archive-it", 1, plain ) then
ulx.url1.service = "archiveit"
ulx.url1.tail = " at " .. bracketopen .. "Archive-It" .. bracketclose
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "arquivo.pt", 1, plain) then
ulx.url1.tail = " at the " .. "Portugese Web Archive"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "loc.gov", 1, plain ) then
ulx.url1.tail = " at the " .. bracketopen .. "Library of Congress" .. bracketclose
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "webharvest.gov", 1, plain ) then
ulx.url1.tail = " at the " .. bracketopen .. "National Archives and Records Administration" .. bracketclose
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "bibalex.org", 1, plain ) then
ulx.url1.tail = " at " .. "[[Bibliotheca_Alexandrina#Internet_Archive_partnership|Bibliotheca Alexandrina]]"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "collectionscanada", 1, plain ) then
ulx.url1.tail = " at the " .. "Canadian Government Web Archive"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "haw.nsk", 1, plain ) then
ulx.url1.tail = " at the " .. "Croatian Web Archive (HAW)"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "nlib.ee", 1, plain ) then
ulx.url1.tail = " at the " .. "Estonian Web Archive"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "vefsafn.is", 1, plain ) then
ulx.url1.tail = " at the " .. "Icelandic Web Archive"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "proni.gov", 1, plain ) then
ulx.url1.tail = " at the " .. bracketopen .. "Public Record Office of Northern Ireland" .. bracketclose
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "uni-lj.si", 1, plain ) then
ulx.url1.tail = " at the " .. "Slovenian Web Archive"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "stanford.edu", 1, plain ) then
ulx.url1.tail = " at the " .. "[[Stanford University Libraries|Stanford Web Archive]]"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "nationalarchives.gov.uk", 1, plain ) then
ulx.url1.tail = " at the " .. bracketopen .. "UK Government Web Archive" .. bracketclose
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "parliament.uk", 1, plain ) then
ulx.url1.tail = " at the " .. bracketopen .. "UK Parliament's Web Archive" .. bracketclose
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "webarchive.org.uk", 1, plain ) then
ulx.url1.tail = " at the " .. bracketopen .. "UK Web Archive" .. bracketclose
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "nlb.gov.sg", 1, plain ) then
ulx.url1.tail = " at " .. "Web Archive Singapore"
track["Category:Webarchive template other archives"] = 1
elseif mw.ustring.find( host, "nlb.gov.sg", 1, plain ) then
ulx.url1.tail = " at " .. "Web Archive Singapore"
else
track["Category:Webarchive template other archives"] = 1
else
track["Category:Webarchive template unknown archives"] = 1
end
 
வரி 443 ⟶ 463:
end
 
--[[--------------------------< createRenderingTrackingcreateTracking >-----------------------
 
Create a rendering of theReturn data in track[] forie. tracking categories
 
]]
 
local function createRenderingTrackingcreateTracking()
 
local sand = ""
வரி 463 ⟶ 483:
--[[--------------------------< createRendering >-----------------------
 
CreateReturn a rendering of the data in ulx[][]
 
]]
வரி 565 ⟶ 585:
local url1 = trimArg(args.url) or trimArg(args.url1)
if not url1 then
return inline_errorinlineError("url", "Empty.") .. createRenderingTrackingcreateTracking()
end
ulx.url1 = {}
வரி 645 ⟶ 665:
end
 
return rend .. createRenderingTrackingcreateTracking()
 
end
"https://tamilar.wiki/w/Module:Webarchive" இலிருந்து மீள்விக்கப்பட்டது