66 900
contributi
(Italian title) |
(Italian title SMW) |
||
Riga 117: | Riga 117: | ||
if (mw.wikibase.getLabelByLang(ItemQ, 'it')) and (mw.wikibase.getLabelByLang(ItemQ, 'it')) ~= PageTitle.text then | if (mw.wikibase.getLabelByLang(ItemQ, 'it')) and (mw.wikibase.getLabelByLang(ItemQ, 'it')) ~= PageTitle.text then | ||
local ITLabel | local ITLabel | ||
local ITValue | |||
if IsEpisode or IsBook or IsFilm then | if IsEpisode or IsBook or IsFilm then | ||
ITLabel = "Titolo italiano" | ITLabel = "Titolo italiano" | ||
Riga 122: | Riga 123: | ||
ITLabel = "In italiano" | ITLabel = "In italiano" | ||
end | end | ||
AllRows[#AllRows + 1] = {ITLabel .. ":", | ITValue = {mw.wikibase.getLabelByLang(ItemQ, 'it')} | ||
AllRows[#AllRows + 1] = {ITLabel .. ":", ITValue} | |||
if AddSemantic then | |||
mw.smw.set(ITLabel .. "=" .. ITValue) | |||
end | |||
end | end | ||
for _, Property in pairs(AllP) do | for _, Property in pairs(AllP) do |