Anonimo

Modulo:FunzioniGeneriche: differenze tra le versioni

Da Wikitrek.
m
nessun oggetto della modifica
mNessun oggetto della modifica
mNessun oggetto della modifica
Riga 394: Riga 394:
local ValidateURI = "http://validator.w3.org/check?uri="
local ValidateURI = "http://validator.w3.org/check?uri="
local FileTitle
local FileTitle
local MediaTitle
local MediaURI
FileTitle =  mw.title.getCurrentTitle()
FileTitle =  mw.title.getCurrentTitle()
MediaTitle = mw.title.new("Media:" .. FileTitle.fullText)
MediaURI = frame:expandTemplate{title = 'filepath:' .. FileTitle.fullText}
return FileTitle.fullText .. "<br />" .. FileTitle:fullUrl() .. "<br />" .. FileTitle:localUrl() .. "<br />" .. FileTitle:canonicalUrl()
return FileTitle.fullText .. "<br />" .. FileTitle:fullUrl() .. "<br />" .. FileTitle:localUrl() .. "<br />" .. FileTitle:canonicalUrl() .. "<br />" .. MediaURI
end
end
return p
return p