Ticket #19 (accepted enhancement)

Opened 6 months ago

Last modified 6 months ago

URL Abbreviations

Reported by: sheep Owned by: sheep
Priority: Normal Milestone: 1.4.0
Component: Hatta Wiki Version: 1.3.3dev
Keywords: Cc:

Description

Often your wiki is just a part of a more complicated system of web applications that are used together. Then you find yourself constantly linking to the same external URLs. This gets tiring quickly.

Hatta needs a page where you can define URL abbreviations, in form of URLs and their monikers. Then you can use the monikers to make links to those URLs. In addition, if the external web application changes or moves, you only need to correct the URL in one place.

Example:

You could define the moniker "ISBN" that points to http://www.amazon.com/dp/. Then, if you use link [[ISBN:0061673730|Zen and the Art of Motorcycle Maintenance]], it will automatically link to http://www.amazon.com/dp/0061673730.

Change History

comment:1 Changed 6 months ago by Ben

If I may intervene, that's the reason why there are macros (<<isbn:0061673730|Zen and the Art of Motorcycle Maintenance>>) : to extend the language without getting out of the standard Creole Markup.

Please consider this option before diverting away from the CreoleMarkup too much.

Just my two cents.

-- Ben

comment:2 Changed 6 months ago by sheep

  • Status changed from new to accepted

Creole markup doesn't specify how the link targets are interpreted: that's on purpose, to allow things like namespaces, special pages or InterWiki links like this. If the above would violate the Creole standard, then Hatta already does it with the "+download" and similar links.

Note: See TracTickets for help on using tickets.