Anybody know how to use a URL with square brackets in inline citations?

+15 votes
532 views
in WikiTree Tech by Helmut Jungschaffer G2G6 Pilot (609k points)

4 Answers

+14 votes
Probably the most elegant way.
You should be able to simply use quotes around the URL

["URL" short name]
apparently, I'm wrong -- still doesn't help.
And just for testing, I tested with single quotes too, ['URL' name] and it didn't work either.
+11 votes
As far as I know the format is...

[ URL  Description]

So should look like this... [www.somesite.com  This is interesting]

EDIT...  opps my mistake. Your URL has sq brackes in it.

HTML code is   [ = &#91   and ] = &#93  you could try using those codes instead of the brackets.
by Dave Welburn G2G6 Pilot (143k points)
edited by Dave Welburn
+10 votes
You may have to replace the brackets with the appropriate ASCII code to prevent the conflict. The left bracket is ASCII 91 and the right is ASCII 93.

I'm testing the exact format you would use - my brain won't give me the precise format at the moment, but I'll get it here after a few tests.
by Scott Fulkerson G2G Astronaut (1.5m points)
+13 votes
by Maria Lundholm G2G6 Pilot (229k points)
Nice one - I was using the Decimal and it appears the Hex works properly. Great Job!
I see - if you use the decimal, you have to do it like:

[ = %&91

and

] = %&93

Easier to use the Hex codes.
Works well. Question - what's preferable for WikiTree, tinyurl or replacing the square brackets?
Depends on whether you ask an old programmer like me who is a bit rusty, but can still figure it out - vs. someone who probably doesn't how hex code from a hole in the ground, and might have to edit the profile someday.

Of course the same could be said for tinyurl, which is still a learning process to use. I myself have never used tinyurl, but I understand the principle and it's not terribly hard to learn. Picking up ASCII code, learning how to insert it (several examples above), and making sure it works takes a bit more work.

I can see your point. It's probably easier for me to learn tinyurl than to teach everyone ASCII.
An alternative to tinyurl is goo.gl

https://goo.gl/
I generally avoid clicking on tinyurl's, just because I have no idea where they lead.

Not sure if WikiTree has a specific policy concerning them.
Helmut, I think it is a personal preference.  I personally think profiles with lots of embedded links are vastly easier to read and edit if shortened url's are used.

Dennis, I've heard this concern about shortened url's before, and I think it is really unjustified.  It is a very common device and the risk is exactly the same as clicking any other link.  Google has their own similar service, twitter has their own similar service, etc.  The number of shortened URLs out there is in the many billions.  All of the services actually screen out links to dangerous sites.  Even most of the links on wikitree you cannot see the root URL unless you take the time to look for it.  Do you really think coming across a tinyurl on wikitree entails any more risk than the dozens of links you click on out on the internet daily?  It is not a reasonable concern.

Rosemary, I do prefer tinyurl to goo.gl and t.co because neither google nor twitter guarantees they will maintain the links forever.

Scott, if you look at the tinyurl.com site you will see directions for adding a link/button to your toolbar.  There is nothing to learn.  It takes literally the time of a single click for me to convert any url to a tinyurl.

...cannot see the root URL unless you take the time to look for it.

I do take the time to look for it. I like to know where I'm going before I get there :)

So for every link to every profile and to every source on wikitree you first go into edit mode and try to find the url?  I don't believe you.  Here on G2G, if you use the link button just above as is usually done, you can't even do that (google.com , see what I mean).

it displays at the bottom of my browser when I hover over the link -- so I can easily see that your link to Google, actually goes to Ancestry.com without having to click on it -- so yes, I check every link, before I click on it, and if I have doubts, I don't click it.

There's a lot of click-bait harvesting out there -- I know, I'm in the business. I know how its done.

Are you one of those IT guys that makes me have 9 character passwords with at least 1 each of CAPS, small caps, numbers and symbols and then change it every three months?

Did you click on Helmut's link because i know you had no idea of where that was going to take you.  If you saw this reference:

  Hill, Don Gleason Hill ed.    ''Dedham Town Records, vol. 1: The Records of Births, Marriages and Deaths in the Town of Dedham, 1634-1845.'' (Dedham, Mass., 1886): [http://tinyurl.com/yclsjrme page 41].

Would you really be scared to click on the link to page 41?

To think there is any concern about a reference in a wikitree profile using a shortened URL is unreasonable paranoia.

hahaha... yeah, no those guys annoy me too -- but I'm afraid I'm cut from the same cloth :)

nope... as soon as I see that the link for "page 41" goes to "tinyurl...blah,blah,blah" -- I won't click it :)

paranoia - sure. unreasonable - I don't think so :)
I agree with Dennis :)
I'm with Dennis and Maria as well. If I can't see the actual URL when I hover over it, and it doesn't match what it says on the page, then I get nervous - unfortunately, that's how spammers get you to click on things that have the potential to load malware or viruses, and as much as places like tinyurl do their best to control it, I can't imagine that they're foolproof.

So unfortunately, when I encounter one of those links, and I feel like I have to click on it, I kind of feel like the bomb disposal unit being told to click the blue wire... and hoping it's the right one.

Related questions

+6 votes
2 answers
+33 votes
8 answers
1.4k views asked Jul 17, 2016 in Policy and Style by anonymous G2G6 Mach 1 (19.2k points)
+27 votes
1 answer
421 views asked Jul 20, 2016 in Policy and Style by Eowyn Walker G2G Astronaut (2.5m points)
+13 votes
1 answer
+14 votes
3 answers
277 views asked Sep 15, 2018 in WikiTree Help by Lisa Linn G2G6 Mach 9 (92.4k points)
+13 votes
5 answers
468 views asked Sep 4, 2018 in Policy and Style by Kitty Linch G2G6 Mach 4 (43.8k points)
+22 votes
2 answers
+13 votes
5 answers

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

disclaimer - terms - copyright

...