Property talk:P7923

From Wikidata
Jump to navigation Jump to search

Documentation

Bollywood Hungama person alphabetic ID
identifier of an artist on Bollywood Hungama
[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. (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/P7923#Single value, 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/P7923#Unique value, SPARQL (every item), SPARQL (by value)
Format “[a-z][a-z-]+\d*: value must be formatted using this pattern (PCRE syntax). (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/P7923#Format, 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/P7923#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): 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/P7923#Scope, SPARQL

Discussion

[edit]

Change to regular expression

[edit]

I have changed the regular expression from ^\S+$ to ^[^\s:/]+$ in order to exclude full URLs (e.g. this diff), since that seems to be the most common error made when adding identifiers. (Cc @Pintoch:) Bovlb (talk) 19:55, 22 April 2020 (UTC)[reply]