Ово је документациона подстраница за Модул:Sources/utils
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
Садржај
1 Принцип рада модула
2 Функције
2.1 Спољашње
2.1.1 coalesce( arg1, arg2, arg3, arg4 )
2.1.2 expandBookSeries( context, data )
2.1.3 isInstanceOf( entity, typeEntityId )
2.1.4 isEmpty( str )
2.1.5 copyArgsToSnaks( args, snaks )
2.1.6 getLangCode( langEntityId )
2.1.7 populateDataFromClaims( context, entityId, claims, data )
2.1.8 getSingle( value )
2.1.9 toString( context, value, options )
2.1.10 wrapInUrl( urls, text )
2.1.11 getElementLink( context, entityId, entity )
2.1.12 populateSourceDataImpl( context, entity, plainData )
2.1.13 expandPublication( context, sourceEntity, data )
2.1.14 expandSpecialsQualifiers( context, entity, propertyId, data )
2.1.15 expandSpecials( context, currentEntity, reference, data )
2.1.16 preprocessPlaces( data, lang )
2.1.17 toWikibaseEntityIdSnak( propertyId, entityId )
2.1.18 getEntity( context, entityId )
2.2 Унутрашње
2.2.1 getSingleStringQualifierValue( allQualifiers, qualifierPropertyId )
2.2.2 appendImpl_toTable( result, resultProperty )
2.2.3 tokenizeName( fullName )
2.2.4 appendImpl( datavalue, qualifiers, result, property, options )
2.2.5 appendSnaks( allSnaks, snakPropertyId, result, property, options )
2.2.6 appendQualifiers( claims, qualifierPropertyId, result, resultProperty, options )
2.2.7 assertNotNull( argName, arg )
2.2.8 toStringSnak( propertyId, strValue )
2.2.9 toUrlSnak( propertyId, strValue )
2.2.10 findClaimsByValue( entity, propertyId, value )
2.2.11 getBestStatements( entity, propertyId )
2.2.12 getNormativeTitle( entity )
2.2.13 renderLink( context, entityId, customTitle, options )
2.2.14 toTextWithTip( text, tip )
2.2.15 getPlaceName( lang, placeId )
Принцип рада модула
Овај модул генерише текст коришћен у фуснотама изведеним са ставки Википодатака.
Функције
Спољашње
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 )