Property talk:P7930
Documentation
(usually used as reference) a community discussion (in Wikidata or other Wikimedia) about a specific statement, or (rarely) an entity in general which may affect the content of the entity
Represents | Wikimedia community discussion (Q116879660) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data type | URL | ||||||||||||
Allowed values | https://[^.]{2,16}\.(wikidata|wikipedia|wikibooks|wikisource|wikiquote|wikimedia|mediawiki|wikiversity|wiktionary)\.org/wiki/.* | ||||||||||||
Example | Bomis (Q935818) → https://en.wikipedia.org/w/index.php?title=User_talk:Jimbo_Wales&diff=1080726&oldid=1080725 Kjell Sandström (Q109620143) → https://wikidata.org/w/index.php?title=wikidata:project_chat&oldid=1531374949#Swedish_photographs | ||||||||||||
Lists |
| ||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
| ||||||||||||
Search for values |
https://[^.]{2,16}\.(wikidata|wikipedia|wikibooks|wikisource|wikiquote|wikimedia|mediawiki|wikiversity|wiktionary)\.org/wiki/.*
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P7930#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P7930#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P7930#Entity types
regular expression
[edit]I’ve just updated the regular expression for allowed values; for the record, the 16 in there is the length of the longest “language code”, determined through the following command:
$ curl -s 'https://www.wikidata.org/w/api.php?action=sitematrix&format=json&formatversion=2' | jq -r '.sitematrix | .. | .url? | strings' | sed 's|https://||; s/\..*//' | awk '{ print length($0), $0 }' | sort -rn | head
16 noboard-chapters
15 labtestwikitech
14 transitionteam
13 wikimaniateam
13 wikimania2018
13 wikimania2017
13 wikimania2016
13 wikimania2015
13 wikimania2014
13 wikimania2013
(Even if you discount project wikis like that, the previous 5 would not have been long enough for e. g. be-tarask
.) --Lucas Werkmeister (talk) 16:55, 24 February 2020 (UTC)
Qualifier
[edit]Prompted by a suggestion in Wikidata:Property proposal/see talk page discussion at#Discussion a few years ago, I have eventually added as qualifier (Q54828449) to the property scope constraint (Q53869507). The idea is to make the discussion link more visible, especially in connection with deprecated claims and the rather terse reason for deprecated rank (P2241) given. --SM5POR (talk) 15:17, 31 December 2022 (UTC)
- No, this is just a reference rather than a qualifier. Midleading (talk) 12:54, 27 November 2023 (UTC)