Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar

PmWiki

pmwiki.org

00049

Summary: link "citation" mark-up doesn't work
Created: 2004-09-19 13:17
Status: Closed - fixed for 2.0.beta7
Category: Bug / Feature request
Assigned:
Priority: 3
Version: 2.0.devel5
OS: Linux 2.4.20-31.9 #1 i686 / PHP Version 4.3.4

Description: The style of URL link using the [[URL]] doesn't work as expected. The expected behaviour is a "citation" link as in "[1]" but instead the URL is simply given as the link text.

Example: http://www.dmoz.org/(approve links)


I've gotten rid of the "[[URL]]" link citation markup in PmWiki 2.0 because it's more useful to be able to just say that anything in double brackets is a link and displays the text inside of the brackets (e.g., for [[free links]]. It'd be nice to come up with an alternate markup for citation links, however. I'm thinking of [[URL|]], [[URL|#]], and [[->URL]] as possibilities but I'm open to suggestions. --Pm

The form [[URL|]] seems the most natural in relation to the overall link scheme although I'm not sure how intuitive it is for the initiated. The reason I was originally thinking that [[URL]] should translate to [1] format, was that it ads no value in relation to simply putting the raw URL (eg http://www.host.com in the page text, but having this special behaviour in conjunction with forms like [[(http://)www.host.com]] would be confusing. So my vote would be for the [[URL|]] format. --LarryBaltz

There's also value in [[http://www.example.com/image.gif]], which displays the name of the image as opposed to inlining it. --Pm

Should this be added to the Development/MarkupProposals page? LarryBaltz


I'd go for consistency with [[URL]] being display as linked URL-text. [[URL|#]] looks convincing to me, though I believe it implies going from [[URL free text]] to [[URL|free text]] in 2.0? Henning

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:56 AM