Modul:Wikidata utilities: Unterschied zwischen den Versionen

Funktionen umbenannt
(Anpassung)
(Funktionen umbenannt)
Zeile 230: Zeile 230:
end
end


function wu.getValuesWithQualifierIds( entity, p, qualifierP, defaultId )
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.getValuesWithLanguages( entity, p )
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
Anonymer Benutzer