Property talk:P278

From Wikidata
Jump to navigation Jump to search

Documentation

GOST 7.75–97 code
identifier for a language according to GOST 7.75–97
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “languoid (Q17376908): item must contain property “instance of (P31)” with classes “languoid (Q17376908)” or their subclasses (defined using subclass of (P279)). (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/P278#Type Q17376908, SPARQL
Format “[а-я]{3} \d{3}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P278#Format, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P278#Unique value, 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/P278#Single value, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (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/P278#Entity types
Scope is as main value (Q54828448): the property must be used by specified way only (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/P278#Scope, SPARQL
Pattern ^([а-я]{3})(\d{3})$ will be automatically replaced to \1 \2.
Testing: TODO list

format constraint[edit]

the pattern [!][<>]+ just prevents the usage of html or wikisyntax that uses <> or [] --Akkakk 00:13, 25 July 2013 (UTC)[reply]

that didn't seem to work. added a qualified constraint [абгеиклмнопрстуфхэ]+( [0-9]+)? now. --Akkakk 10:46, 25 July 2013 (UTC)[reply]

constraint report relating to Wikimedia disambiguation page (Q4167410)[edit]

If instance of (P31) is a Wikimedia disambiguation page (Q4167410) the presence of GOST 7.75–97 code (P278) is prohibited.

see: 278%5D Wikimedia disambiguation page (Q4167410) with GOST 7.75-97 code (P 278) gangLeri לערי ריינהארט (talk) 15:09, 19 May 2014 (UTC)[reply]