Modulo:Software: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m raw licenses |
m disabling cache |
||
Riga 213:
local licenseIsFree_ = {}
function p._licenseIsFree(license)
return mWikidata._instanceOf({'Q3943414'}, {from = license})
if licenseIsFree_[license] == nil then▼
-- TODO cache does not work?
▲ --if licenseIsFree_[license] == nil then
-- Q3943414 free software license
--end
--return licenseIsFree_[license]
end
Riga 234 ⟶ 237:
]]
function p._hasAFreeLicense(frame)
for _,
if p._licenseIsFree(
return true
end
Riga 247 ⟶ 250:
]]
function p._hasAProprietaryLicense(frame)
for _,
if p._licenseIsProprietary(
return true
end
|