Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Formatters Namespace Reference

Namespaces

namespace  Reference
 

Classes

class  AutoCommentFormatter
 Formatter for machine-readable autocomments as generated by SummaryFormatter in the repo. More...
 
class  BinaryOptionDispatchingSnakFormatter
 Dispatching snak formatter that makes it possible to special case certain Snaks based on the associated property's data type. More...
 
class  CachingKartographerEmbeddingHandler
 Service for embedding Kartographer mapframes for GlobeCoordinateValues. More...
 
class  CommonsInlineImageFormatter
 Formats the StringValue from a "commonsMedia" snak as a HTML thumbnail and a link to commons. More...
 
class  CommonsLinkFormatter
 Formats the StringValue from a "commonsMedia" snak as an HTML link pointing to the file description page on Wikimedia Commons. More...
 
class  CommonsThumbnailFormatter
 A rich wikitext formatter for values of the "commonsMedia" property type. More...
 
class  DispatchingEntityIdHtmlLinkFormatter
 DispatchingEntityIdHtmlLinkFormatter is a formatter for EntityId Html Links. More...
 
class  DispatchingSnakFormatter
 DispatchingSnakFormatter will format a Snak by delegating the formatting to an appropriate SnakFormatter based on the snak type or the associated property's data type. More...
 
class  DispatchingValueFormatter
 DispatchingValueFormatter is a formatter for DataValues. More...
 
class  EntityIdLinkFormatter
 Formats entity IDs by generating a wiki link to the corresponding page title with the id serialization as text. More...
 
class  EntityIdPlainLinkFormatter
 Formats entity IDs by generating a wiki link to the corresponding page title without display text. More...
 
class  EntityIdSiteLinkFormatter
 A formatter for exclusive use on client wikis. More...
 
class  EntityIdTitleFormatter
 Formats entity IDs by generating the corresponding page title. More...
 
class  EntityIdValueFormatter
 A simple wrapper that forwards formatting of an EntityIdValue object to an EntityIdFormatter. More...
 
class  ErrorHandlingSnakFormatter
 Decorator for SnakFormatter that handles PropertyDataTypeLookupException and MismatchingDataValueTypeException by placing the appropriate warning in the snakFormatter's output. More...
 
class  EscapingSnakFormatter
 EscapingSnakFormatter wraps another SnakFormatter and applies a transformation (escaping) to that formatter's output. More...
 
class  EscapingValueFormatter
 EscapingValueFormatter wraps another ValueFormatter and applies a transformation (escaping) to that formatter's output. More...
 
class  FormatterLabelDescriptionLookupFactory
 Factory for LabelDescriptionLookup objects based on FormatterOptions. More...
 
class  GlobeCoordinateDetailsFormatter
 Formatter for rendering the details of a GlobeCoordinateValue (most useful for diffs) in HTML. More...
 
class  GlobeCoordinateInlineWikitextKartographerFormatter
 
class  GlobeCoordinateKartographerFormatter
 Formatter for rendering GlobeCoordinateValue via the Kartographer extensions. More...
 
class  HtmlExternalIdentifierFormatter
 A formatter for PropertyValueSnaks that contain a StringValue that is interpreted as an external identifier. More...
 
class  HtmlTimeFormatter
 A value formatter that creates a basic, single-line HTML representation of a TimeValue's date, time and calendar model. More...
 
class  HtmlUrlFormatter
 Formats the StringValue from a "url" snak as an HTML link pointing to that URL. More...
 
class  InterWikiLinkHtmlFormatter
 Formats the StringValue from a snak as an HTML link. More...
 
class  InterWikiLinkWikitextFormatter
 Formats the StringValue from a snak as an Wikitext link. More...
 
class  ItemPropertyIdHtmlLinkFormatter
 Formats entity IDs by generating an HTML link to the corresponding page title. More...
 
class  LabelsProviderEntityIdHtmlLinkFormatter
 Formats entity IDs by generating an HTML link to the corresponding page title. More...
 
class  MediaWikiNumberLocalizer
 Localizes a numeric string using MediaWiki's Language class. More...
 
class  MessageSnakFormatter
 MessageSnakFormatter returns the same (localized) message for all snaks. More...
 
class  MonolingualHtmlFormatter
 
class  MonolingualTextFormatter
 
class  MonolingualWikitextFormatter
 
class  MwTimeIsoFormatter
 
class  NonExistingEntityIdHtmlBrokenLinkFormatter
 
class  NonExistingEntityIdHtmlFormatter
 Formats entity IDs by generating HTML for when the entity ID does not exist. More...
 
class  NonExistingEntityIdHtmlFormatterLinker
 
class  OutputFormatSnakFormatterFactory
 Factory service for obtaining a SnakFormatter for a desired output format. More...
 
class  OutputFormatValueFormatterFactory
 Factory for ValueFormatters, based on factory callbacks. More...
 
class  PropertyValueSnakFormatter
 PropertyValueSnakFormatter is a formatter for PropertyValueSnaks. More...
 
class  QuantityDetailsFormatter
 Formatter for rendering the details of a QuantityValue (most useful for diffs) in HTML. More...
 
class  SnakFormat
 Helper for handling SnakFormatter output formats. More...
 
interface  SnakFormatter
 SnakFormatter is an interface for services that render Snaks to a specific output format. More...
 
class  TimeDetailsFormatter
 Formatter for rendering the details of a TimeValue (most useful for diffs) in HTML. More...
 
interface  TypedValueFormatter
 Provides a string representation for a DataValue given its associated DataType. More...
 
class  UnDeserializableValueFormatter
 A ValueFormatter for UnDeserializableValue objects. More...
 
class  UnknownTypeEntityIdHtmlLinkFormatter
 An EntityIdHtmlLinkFormatter for entity types without a configured entity-id-html-link-formatter-callback. More...
 
class  UnmappedEntityIdValueFormatter
 
class  VocabularyUriFormatter
 A dedicated formatter for concept URIs referring to entities on a vocabulary repository. More...
 
class  WikibaseSnakFormatterBuilders
 Low level factory for SnakFormatters for well known data types. More...
 
class  WikibaseValueFormatterBuilders
 Low level factory for ValueFormatters for well known data types. More...
 
class  WikiLinkHtmlFormatter
 Formats the StringValue from a snak as an HTML link. More...
 
class  WikiLinkWikitextFormatter
 Formats the StringValue from a snak as an Wikitext link. More...
 
class  WikitextExternalIdentifierFormatter
 A formatter for PropertyValueSnaks that contain a StringValue that is interpreted as an external identifier. More...