Property talk:P12800

From Wikidata
Jump to navigation Jump to search

Documentation

Vikidia article ID
identifier for an article on Vikidia (format "lang-code:title")
RepresentsVikidia (Q3051048)
Applicable "stated in" valueFrench Vikidia (Q79419012), Spanish Vikidia (Q79419015), Armenian Vikidia (Q79419837), Italian Vikidia (Q79419017), English Vikidia (Q79419019), German Vikidia (Q79419833), Basque Vikidia (Q79419832), Catalan Vikidia (Q79419830), Russian Vikidia (Q79419828), Greek Vikidia (Q79419839)
Has qualityMediaWiki page title (Q83336425)
Data typeExternal identifier
Allowed values[a-z0-9\.-]+:[^\s#]+
Examplecomputer (Q68)fr:Ordinateur
computer (Q68)en:Computer
Lebanon (Q822)de:Libanon
Sourcehttp://en.vikidia.org/wiki/Special:Allpages
http://it.vikidia.org/wiki/Special:Allpages
http://es.vikidia.org/wiki/Special:Allpages
http://eu.vikidia.org/wiki/Special:Allpages
http://hy.vikidia.org/wiki/Special:Allpages
http://de.vikidia.org/wiki/Special:Allpages
http://ca.vikidia.org/wiki/Special:Allpages
http://ru.vikidia.org/wiki/Special:Allpages
Formatter URLhttps://central.vikidia.org/wiki/$1
https://de.vikidia.org/wiki/$1
https://ca.vikidia.org/wiki/$1
https://ru.vikidia.org/wiki/$1
https://fr.vikidia.org/wiki/$1
https://hy.vikidia.org/wiki/$1
https://es.vikidia.org/wiki/$1
https://eu.vikidia.org/wiki/$1
https://it.vikidia.org/wiki/$1
https://en.vikidia.org/wiki/$1
Lists
Proposal discussionProposal discussion
Current uses
Total25,523
Main statement25,516>99.9% of uses
Qualifier3<0.1% of uses
Reference4<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[a-z0-9\.-]+:[^\s#]+: 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/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: 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)[reply]

I have changed this to use central.vikidia as the formatter URL. That should work. --Ameisenigel (talk) 13:51, 22 June 2024 (UTC)[reply]