Modul:Wikidata utilities: Unterschied zwischen den Versionen
(Anpassung) |
(Funktionen umbenannt) |
||
Zeile 230: | Zeile 230: | ||
end | end | ||
function wu. | function wu.getValuesByQualifier( entity, p, qualifierP, defaultId ) | ||
local result = {} | local result = {} | ||
if entity and entity ~= '' and p and p ~= '' and qualifierP and qualifierP ~= '' then | if entity and entity ~= '' and p and p ~= '' and qualifierP and qualifierP ~= '' then | ||
Zeile 262: | Zeile 262: | ||
-- get values array for monolingual text | -- get values array for monolingual text | ||
function wu. | function wu.getValuesByLang( entity, p ) | ||
local result = {} | local result = {} | ||
if entity and entity ~= '' and p and p ~= '' then | if entity and entity ~= '' and p and p ~= '' then |