Property talk:P6305

Latest comment: 3 years ago by RonnieV in topic Check regular expression - fix needed

Documentation

Wikimedia VRTS ticket number
identifier for a set of email correspondence, in the Wikimedia Volunteer Response Team System
Data typeExternal identifier
Domainwork (Q386724)
Allowed values20(([012][0-9]))((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{8}
Usage notesProperty for storing Wikimedia VRTS ticket number related to the item. Be aware of the difference between original work (artwork, book, etc.) and digital representation of that work (scan, photograph, text of the book, etc.). On Wikidata this property should be used in case VRT received correspondence related to original work. On Commons it should be used for digital representation of the work.
ExampleRuins in Reninghe (Q19926393)2009082810037404
Self-portrait (Q23047582)2007101810005895
Commons example
Formatter URLhttps://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber=$1
Lists
Proposal discussionProposal discussion
Current uses
Total250
Main statement166.4% of uses
Qualifier104% of uses
Reference22489.6% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “work (Q386724): item must contain property “instance of (P31)” with classes “work (Q386724)” 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/P6305#Type Q386724, SPARQL
Format “20[012][0-9]((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{8}: 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/P6305#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200), Wikibase MediaInfo (Q59712033): 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/P6305#Entity types
 

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

new Constraint edit

@User:Lockal: In this edit you just added a new constraint. Can you explain what it means as I do not understand it. --Jarekt (talk) 21:29, 30 September 2020 (UTC)Reply

@Jarekt: It means that this property should be used only on items, not on other entity types like properties or Commons files. This is obviously wrong and the result of a not careful enough bot action; I’ve expanded it to allow Commons files (probably it shouldn’t be used on other types of entities indeed). —Tacsipacsi (talk) 00:14, 1 October 2020 (UTC)Reply
@Tacsipacsi:, thank you, you are 100% correct, I ignorantly overlooked few of MediaInfo external identifiers due to they are non-queryable via WDQS (added statements were based on usage from WDQS and P31/P279*), with exceptions, I've handled manually (I targeted to find lexeme-only properties, that were incorrectly used in Wikidata items). Luckily, there are only few external identifiers currently used in WCQS. I'll handle them manually too. --Lockal (talk) 08:26, 1 October 2020 (UTC)Reply

Check regular expression - fix needed edit

 

In the documentation, the check is changed to allow 20[012]... The controls below the documentation still mentions 20[0-1]...

I came across this whilst adding a ticket]. Who can fix this? Thanks in advance, RonnieV (talk) 11:21, 29 January 2021 (UTC)Reply

@RonnieV: There’s a regular expression statement and there’s another, independent, constraint statement. Only the former was updated before, now I’ve adjusted the latter as well. —Tacsipacsi (talk) 15:25, 29 January 2021 (UTC)Reply
@Tacsipacsi: I could not find that one (did not scroll down to the Constraints-section). Learned something, so thanks for that, and for solving it. RonnieV (talk) 15:41, 29 January 2021 (UTC)Reply
I had a new look at the expression, and it seems to me it could even be shorter. There were now two parts handling years starting with 2. RonnieV (talk) 17:57, 29 January 2021 (UTC)Reply
Return to "P6305" page.