in reply to Warn people who have perlmonks in a URL?

The first technique I ever learned for linking to other perlmonks nodes from inside a post that I'm writing was to put just the node-id, together with some text to label it, inside square brackets, like this:
[44715|graff's home node]
I gather you could also use a string representing a node title in place of the node-id (assuming someone doesn't decide to change the node's title string at some later date).

I don't recall which of the FAQ/intro/help pages at the Monastery gave me this idea (I got habituated to this a couple years ago). Having looked for it just now, I'm only seeing instructions that involve putting the "id://" prefix on the node-id.

All the links I've put in my nodes, using just the unadorned node-id, still seem to work. (That's a relief!) But now that I know more about the "id://" prefix, I'll use it. Thanks.

Replies are listed 'Best First'.
Re: Re: Warn people who have perlmonks in a URL?
by tilly (Archbishop) on Nov 09, 2003 at 18:58 UTC
    The idea that the node ID by itself should work was added later. It will work, only so long as nobody creates a title whose name is the same as that node ID. (At least that was the case in the original implementation, that may have changed.)

    Therefore for posts I always use id:// just in case, someday, someone wants to play a bad joke...

      A big difference is that id:// can also fetch the node's title to autolabel the link. IMO this is its main selling point.

      Makeshifts last the longest.