Modulo:Software: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
fix wl cat
FrescoBot (discussione | contributi)
m Bot: caratteri invisibili LTR e RTL e modifiche minori
Riga 47:
return "[[" .. sitelink .. "|" .. label .. "]]"
end
 
 
--[[
Riga 67 ⟶ 66:
return yesNo(v)
end
 
 
--[[
* Poi non ditemi che PHP fa schifo. asd.
* Sembra che l'operatore "#" ogni tanto non vada col Modulo:Wikidata.
* 00:28, 28 feb 2017‎2017 Valerio Bozzolan
]]
local function count(t)
Riga 555 ⟶ 553:
]]
function p._singleLicenseType(license)
-- Q3943414 free software license
-- Q31202214 proprietary software license
-- Q218616 proprietary software
-- Q3238057 proprietary license!
 
--[[
Riga 566 ⟶ 564:
return license == 'Q3943414' and FREE
or (license == 'Q31202214' or license == 'Q218616' or license == 'Q3238057') and PROPRIETARY
or UNKNOWN
or UNKNOWN
end
 
Riga 772 ⟶ 770:
 
--[[
* Categorie legate ai toolkit o framework dell'interfaccia grafica da Wikidata.
*
* @param from string|nil Wikidata Item
Riga 812 ⟶ 810:
local s
if lang.cat then
s = free and lang.free and "Software libero in %s" --free = true
or free == false and lang.nonfree and "Software proprietario in %s" --free = false
or "Software in %s" --free = nil