Property talk:P506

From Wikidata
Jump to navigation Jump to search

Documentation

ISO 15924 alpha-4 code
4-letter identifier for a script, writing system, or typeface/style used in one or more languages
Descriptionfour-letter and numeric code for writing systems
Data typeExternal identifier
Template parameter'ISO15924=', 'iso15924=', in de:Vorlage:Infobox Schrift, en:Template:Infobox writing system or fr:Modèle:Infobox Système d'écriture
Domain
According to this template: writing system
According to statements in the property:
notation (Q2001982)
When possible, data should only be stored as statements
Allowed values[A-Z][a-z]{3} (four basic Latin letters (normally not case-sensitive, but the recommanded capitalization of just the initial is required in values used on Wikidata))
ExampleHangul (Q8222) → Hang
Greek alphabet (Q8216) → Grek
Latin script (Q8229) → Latn
Cyrillic script (Q8209) → Cyrl
Latin, Gaelic type (Q1432616) → Latg
jamo (Q41799425) → Jamo
reserved for private use (start) (Q109986276) → Qaaa
reserved for private use (end) (Q110240135) → Qabx
Sourcehttp://www.unicode.org/iso15924/iso15924-codes.html
See alsoISO 15924 numeric code (P2620), IETF language tag (P305)
Lists
Proposal discussionProposal discussion
Current uses
Total281
Main statement27397.2% of uses
Qualifier82.8% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P506#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P506#Single value, hourly updated report, SPARQL
Format “[A-Z][a-z]{3}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P506#Format, hourly updated report, SPARQL
Item “ISO 15924 numeric code (P2620): Items with this property should also have “ISO 15924 numeric code (P2620)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P506#Item P2620, search, SPARQL
Type “notation (Q2001982): item must contain property “instance of (P31)” with classes “notation (Q2001982)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P506#Type Q2001982, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P506#Entity types, hourly updated report
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P506#Scope, hourly updated report, SPARQL

Wikimedia projects[edit]

Should we expand the domain to include Wikipedia language edition (Q10876391)? --Infovarius (talk) 08:40, 10 January 2016 (UTC)[reply]

No. This a property for writing systems (scripts represented in the ISO 15924 standard, including variants that may be unified in the Unicode/ISO/IEC 10646 standard, or distinguished in ISO 15924 for bibliographic classification purposes, and scripts that are still not encoded and not supported in Unicode), not languages (or macrolanguages, language families, and other langoids) using them (these are coded and used normally according BCP 47, based on ISO 639, but some legacy Wikipedia editions deviate from that BCP 47 standard in the codification of their domain names, including for legacy "*.sc" and "*-el" script variants of some Serbo-Croatian languages; for strict conformance to web standards and other databases however, standard BCP47 tags should be used everywhere in main Wikidata properties: exceptions are only tolerated for the Wikimedia interwiki links and should never be used to translations of labels for Wikidata items or lexemes).
In addition the Wikipedia editions sometimes target multiple scripts, that are distinguished here, but supported on the same wiki using transliterators). For example, listing Wikipedia editions for the Latin script would be very irrelevant (and it is a constantly open list). Legacy Wikimedia exceptions to the BC47 standard should be listed in properties for langoids, but not maintained here. Verdy p (talk) 19:06, 11 May 2023 (UTC)[reply]