Wikidata:Property proposal/syntax clarification

From Wikidata
Jump to navigation Jump to search

syntax clarification[edit]

DescriptionQualifier to provide extra details on the syntax of a statement value, in particular for format as a regular expression (P1793).
Representssyntax (Q37437)
Data typeMonolingual text
DomainProperties with "format as regular expression" property, P1793.
Allowed valuesAny descriptive text
ExampleYandex Music artist ID (P1553) : format as a regular expression (P1793) → "[1-9]\d{0,6}"
qualified with syntax clarification → "numeric string, 1 to 7 digits (English)"
Motivation

Proposed as a result of the deletion discussion of generic property "comment", comment (DEPRECATED) (P2315), this qualifier would be used to replace "comment" for the 240 or so occurrences where it is used as qualifier on format as a regular expression (P1793). It might eventually be expanded to include other cases where some cryptic syntax requires an explanation. LaddΩ chat ;) 21:50, 2 June 2016 (UTC)[reply]

Discussion

@Laddo, Thryduulf, GAllegre, Lymantria: ✓ Done --Srittau (talk) 01:45, 19 June 2016 (UTC)[reply]