summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-18 08:57:27 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-18 08:57:27 +0000
commit447789806c9fc7991e9eee6f021a9cebef940f5f (patch)
treee9891702c7f12cf2817bc75212b056c04b4c94c2 /doc/todo
parent778597174ef28c71bfec68071ed16feaf413f8ec (diff)
web commit by tuomov: More on the |-syntax for plugins/short links
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/Short_wikilinks.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/todo/Short_wikilinks.mdwn b/doc/todo/Short_wikilinks.mdwn
index 077cded23..93d3b045d 100644
--- a/doc/todo/Short_wikilinks.mdwn
+++ b/doc/todo/Short_wikilinks.mdwn
@@ -63,3 +63,10 @@ Other alternatives would be
\[[link bar=VeryLongPageName]]
>> This is, however, still missing specifying the link text, and adding that option would seem to me to complicate the plugin syntax a lot, unless support is added for the |-syntax for specifying a particular parameter to every plugin.
+
+>> ... Returning to this, the syntax infact wouldn't be so bad with the |-syntax, given a short name for the plugin:
+
+ [[whatever|ref 1]]
+ \[[ref 1=page_with_long_name]]
+
+>> It also shouldn't be difficult to support non-wiki links in this same way, so that you could still link everywhere in an uniform manner, as the (still preferred by me) HTML processing approach would provide. Perhaps a plugin call wouldn't even be necessary for the links themselves: what about aliases for the normal link mechanism? Although the 'ref' call may infact be cleaner, and adding that |-syntax for plugins could offer other possibilities for other plugins.