Help:Default values for labels and aliases

From Wikidata
Jump to navigation Jump to search

Items can (now) be given default values, such as names and other proper nouns unlikely to differ between languages. Default values simplify working on items that have identical values for labels and aliases in a plurality of languages. You can still set different values for individual languages. These default values can be accessed via API using the language code mul ("multiple languages").

How does it work?[edit]

Mockup of the default values feature
  • Add a default value.
  • Wikidata uses these default values for labels or aliases where no other value is given (see screenshot).
  • Where applicable: Add a statement to indicate the native language of the label, e.g., native label (P1705) or name in native language (P1559).

When should I use default values for labels and aliases?[edit]

There are types of Items where you should apply default values:

Names

Titles

Symbols and characters

Codes

  • Country codes, e.g., CH (alias).

Wikimedia pages

FAQ[edit]

Do I need to repeat aliases in my language?[edit]

Probably not. The purpose of aliases is only to find entities in searches. All languages are used when searching, so generally aliases need not be repeated. Instead, add aliases that are valid across many languages to the 'default values' section.

Why is this important?[edit]

More and more we see redundant labels, aliases, and descriptions being added to Wikidata entities. These are hard to maintain, and all superfluous data brings our already overburdened infrastructure closer to its limits (see Wikidata Query Service). Default values improve the situation for labels and aliases; a different solution is in the works for descriptions (viz. T303677).

When will this feature be available on Wikidata?[edit]

The release is planned for Q1/2024. You can already test the functionality right now on test.wikidata.org, where we are currently testing the beta version of the feature.

Where can I report problems?[edit]

Please report problems on the talk page of this page.