Wikidata:Property proposal/Fellow of the Royal Society of Canada

Fellow of the Royal Society of Canada IDEdit

Originally proposed at Wikidata:Property proposal/Person

DescriptionFellow ID of the Royal Society of Canada
RepresentsFellow of the Royal Society of Canada (Q29638100)
Data typeString
Domaininstance of (P31):human (Q5) (humans)
Example 1Michael R. Dence (Q101615079)dence-michael-r
Example 2Janet Werker (Q22808729)janet-werker
Example 3David H. Sinclair (Q101630129)david-sinclair
Format and edit filter validation\S+
Sourcehttps://rsc-src.ca/en/
Formatter URLhttps://rsc-src.ca/en/$1
Robot and gadget jobsMix'n'match

MotivationEdit

Notable scientists of Canada. Trilotat (talk) 18:27, 14 November 2020 (UTC)

DiscussionEdit

@Trilotat, Tinker Bell, Gerwoman:   Done Fellow of the Royal Society of Canada ID (P8877) Pamputt (talk) 17:43, 27 November 2020 (UTC)
  • @Pamputt: Thank you. I guess I had a constraint error. I tried to fix it, but the ID works only now for Michael R. Dence (Q101615079), but Janet Werker (Q22808729) does not. Both codes are fine and link to the proper page, but the constraint flags the second incorrectly. I don't know how to code it so you don't have to put a third string of characters after the second hyphen. Can you help a little more? Trilotat (talk) 23:08, 27 November 2020 (UTC)
@Trilotat: I changed completely the regex you were using (I do not know the syntax used). Now it works for both cases. Pamputt (talk) 07:45, 28 November 2020 (UTC)