Modulo:Software: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
+p._subclassOf da implementare Modulo:Software |
fix p._isProprietarySoftwareByWikidata() |
||
Riga 32:
function p._isFreeSoftwareByWikidata()
-- Q341 free software
-- Q1130645 open-source software
return mWikidata._instanceOf({'Q341', 'Q1130645'})
end
function p._isProprietarySoftwareByWikidata()
-- Q218616 proprietary software
return p._subclassOf({'Q218616', 'Q178285'})▼
-- Q178285 freeware TODO: impropria, subclass of precedente
end
Riga 240 ⟶ 244:
if licenseIsProprietary_[license] == nil then
-- Q14624820 non-free software license
licenseIsProprietary_[license] =
▲ licenseIsProprietary_[license] = mWikidata._instanceOf({'Q14624820', from = license}) or false
end
return licenseIsProprietary_[license]
|