Модул:Sources/utils/док — разлика између измена

Iz Vojne Enciklopedije
Пређи на навигацију Пређи на претрагу
 
м (1 измена увезена)
 

Тренутна верзија на датум 5. фебруар 2021. у 13:51

Принцип рада модула

Овај модул генерише текст коришћен у фуснотама изведеним са ставки Википодатака.

Функције

Спољашње

coalesce(arg1, arg2, arg3, arg4)

expandBookSeries(context, data)

isInstanceOf(entity, typeEntityId)

isEmpty(str)

copyArgsToSnaks(args, snaks)

getLangCode(langEntityId)

populateDataFromClaims(context, entityId, claims, data)

getSingle(value)

toString(context, value, options)

wrapInUrl(urls, text)

getElementLink(context, entityId, entity)

populateSourceDataImpl(context, entity, plainData)

expandPublication(context, sourceEntity, data)

expandSpecialsQualifiers(context, entity, propertyId, data)

Expand special types of references when additional data could be found in OTHER entity properties

expandSpecials(context, currentEntity, reference, data)

preprocessPlaces(data, lang)

toWikibaseEntityIdSnak(propertyId, entityId)

getEntity(context, entityId)

Унутрашње

getSingleStringQualifierValue(allQualifiers, qualifierPropertyId)

appendImpl_toTable(result, resultProperty)

tokenizeName(fullName)

appendImpl(datavalue, qualifiers, result, property, options)

appendSnaks(allSnaks, snakPropertyId, result, property, options)

appendQualifiers(claims, qualifierPropertyId, result, resultProperty, options)

assertNotNull(argName, arg)

toStringSnak(propertyId, strValue)

toUrlSnak(propertyId, strValue)

findClaimsByValue(entity, propertyId, value)

getBestStatements(entity, propertyId)

getNormativeTitle(entity)

renderLink(context, entityId, customTitle, options)

toTextWithTip(text, tip)

getPlaceName(lang, placeId)