web commit by JoshTriplett: Allow shortcuts with only a name and desc, no url, to support multiple links per shortcut.

master
joey 2007-02-10 21:24:50 +00:00
parent 8648169e95
commit 86564b2046
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
Currently, [[shortcuts]] must have the `url` parameter, and can optionally
have the `desc` parameter. If the `shortcut` directive instead required at
least one of `url` or `desc`, then shortcuts could just supply a description
without an URL. Since desc can contain arbitrary wiki markup, this would
allow shortcuts with multiple links, such as the mmlist shortcut proposed on
[[simple_text_parsing_or_regex_in_template_or_shortcut]], or a comprehensive
Debian package shortcut which linked to the package page and parenthetically
to the BTS and PTS.