Is there any way to create a "Relationship to Me" link within a Free-Space page?

+4 votes
171 views
I want to create a list of WikiTree profiles on a Free-Space page, each having a "Relationship to Me" link. Where "Me" is the person reading the page (not my personal WikiTree profile).

I thought there might be a Wiki Variable for the users WikiTree-ID, but I can't find it.

The "Relationship Finder Quick Links" page does this already, but it doesn't use Wiki Syntax.

I know the user can go to each WikiTree profile page, click on the WikiTree-ID in the menu, and then click on "Relationship to Me", but that is tedious when you want to check several profiles.
in WikiTree Tech by Rick Pierpont G2G6 Pilot (129k points)

2 Answers

+11 votes
 
Best answer
If you leave out person1_name, it defaults to the user.
by Living Horace G2G6 Pilot (631k points)
selected by Rick Pierpont

RJ, Thank you. That does exactly what I needed.

Update: Here is my example: Founders of Windsor, Connecticut

+5 votes

just use an html link like this:

see [https://www.wikitree.com/index.php?title=Special:Relationship&action=calculate&person1_name=Wheeler-10589&person2_name=Garrett-4589 Relationship Finder]

it will look like this: see Relationship Finder

You'll have to figure out which person 1 and 2 names to use.

by Dennis Wheeler G2G6 Pilot (573k points)
ah,... I just re-read your question -- I don't believe you can dynamically determine the Wiki-ID of the person reading the page
apparently you can... nice work RJ

Related questions

+8 votes
1 answer
+3 votes
2 answers
+10 votes
2 answers
+8 votes
1 answer
+6 votes
3 answers
+13 votes
2 answers
+9 votes
3 answers
1.1k views asked Jan 15, 2017 in Policy and Style by Jillaine Smith G2G6 Pilot (906k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...