Пређи на садржај

Модул:Sources/utils/док

С Википедије, слободне енциклопедије

Ово је документациона подстраница за Модул:Sources/utils

Принцип рада модула[уреди извор]

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

Функције[уреди извор]

Спољашње[уреди извор]

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)[уреди извор]