Modulo:Collegamenti esterni: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
+Architettura |
m mw.wikibase.getLabel tramite mWikidata |
||
Riga 45:
local function getCurrentTitle(from)
local ret
local label =
if from then
ret = label
Riga 111:
function ExtLink:_getTitolo()
local currTitle = getCurrentTitle()
return self.from and
(self.linkConf.titolo and self.linkConf.titolo:gsub('$1', currTitle) or currTitle)
end
Riga 373:
for _, linkConf in ipairs(cfg[groupName]) do
local wdLink = string.format('* [[d:Property:%s|%s (%s)]]',
linkConf.pid,
table.insert(wdLinks, wdLink)
end
|