2007-02-10 22:24:50 +01:00
|
|
|
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.
|
2007-02-10 22:36:01 +01:00
|
|
|
|
2007-02-11 22:54:34 +01:00
|
|
|
--[[JoshTriplett]]
|
|
|
|
|
|
|
|
It sounds like you're looking for templates, not shortcuts. --[[Joey]]
|
2007-02-13 12:09:36 +01:00
|
|
|
|
|
|
|
> Perhaps true (see my issues with template syntax on
|
|
|
|
> [[todo/shortcut_optional_parameters]]), but allowing a `shortcut` without an
|
|
|
|
> `url` still seems reasonable, and simple. You could also use such shortcuts
|
|
|
|
> without markup at all, as an abbreviation mechanism:
|
|
|
|
>
|
2008-07-21 13:45:54 +02:00
|
|
|
> \[[!shortcut name=spi desc="Software in the Public Interest, Inc."]]].
|
|
|
|
> \[[!shortcut name=sosp desc="Symposium on Operating System Principles"]]].
|
|
|
|
> \[[!shortcut name=cacm desc="Communications of the ACM"]]].
|
2007-02-13 12:09:36 +01:00
|
|
|
>
|
2007-02-13 12:14:19 +01:00
|
|
|
> --[[JoshTriplett]]
|