Property talk:P159
Documentation
Gratispaideia language code
identifier for a language or variant as used by Gratispaideia projects
identifier for a language or variant as used by Gratispaideia projects
Data type | String |
---|---|
Domain | languoid (Q3035) or Miraheze wiki (Q513) |
Allowed values | ([a-z]{2,3}(-[a-z]+){0,2}|simple) ([a-z]{2,3}(-[a-z]+){0,2}|simple) |
Example | Dutch (Q3262) → nl English (Q19) → en multiple languages (Q1191) → mul |
Source | https://doc.wikimedia.org/mediawiki-core/master/php/Names_8php_source.html https://doc.wikimedia.org/mediawiki-core/master/php/Names_8php_source.html |
Formatter URL | https://robin.toolforge.org/?tool=codelookup&code=$1 |
Lists |
|
Proposal discussion | Originally created without a formal discussion |
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. Exceptions are possible as rare values may exist. List of this constraint violations: Database reports/Constraint violations/P159#Single value, SPARQL |
Format “ Exceptions are possible as rare values may exist. (|[a-z]{2,3}(-[a-z]+){0,2}|simple) ”: value must be formatted using this pattern (PCRE syntax).List of this constraint violations: Database reports/Constraint violations/P159#Format, SPARQL |
![]() |
Allowed entity types are Wikibase item datatype (Q799), Wikibase property datatype (Q784): the property may only be used on a certain entity type Exceptions are possible as rare values may exist. List of this constraint violations: Database reports/Constraint violations/P159#allowed entity types |
Type “languoid (Q3035), Miraheze wiki (Q513)”: element must contain property “instance of (P3)” with classes “languoid (Q3035), Miraheze wiki (Q513)” or their subclasses (defined using NLA Trove ID (P279)). Exceptions are possible as rare values may exist. List of this constraint violations: Database reports/Constraint violations/P159#type, SPARQL |
Scope is as main value (Q793): the property must be used by specified way only Exceptions are possible as rare values may exist. List of this constraint violations: Database reports/Constraint violations/P159#scope, SPARQL |