Property talk:P12800
Jump to navigation
Jump to search
Documentation
Vikidia article ID
identifier for an article on Vikidia (format "lang-code:title")
identifier for an article on Vikidia (format "lang-code:title")
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P12800#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P12800#Format, 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/P12800#Unique value, SPARQL (every item), SPARQL (by value)
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/P12800#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/P12800#Scope, SPARQL
Single value
There should be one and only one link to a specific language version of Vikidia. (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P12800#Single value
There should be one and only one link to a specific language version of Vikidia. (Help)
Violations query:
SELECT ?item WHERE { ?item wdt:P12800 ?id1 ; wdt:P12800 ?id2 . FILTER ( ?id1 < ?id2 ) FILTER ( STRBEFORE(?id1,":") = STRBEFORE(?id2,":") ) }
List of this constraint violations: Database reports/Complex constraint violations/P12800#Single value
@Wüstenspringmaus: Oh gosh, I didn't know that applies if regular expression matches (P8460) was not supported by formatter URL (P1630) and we are forced to specify a single best value. If there is no way to specify a unique formatter URL for this format, maybe we should rollback to the originally-proposed one (i.e. the full URL). Horcrux (talk) 21:57, 9 June 2024 (UTC)
- I have changed this to use central.vikidia as the formatter URL. That should work. --Ameisenigel (talk) 13:51, 22 June 2024 (UTC)