]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/link_plugin_perhaps_too_general__63__.mdwn
How signinview handles the goto leak
[ikiwiki.git] / doc / todo / link_plugin_perhaps_too_general__63__.mdwn
1 [[!tag wishlist blue-sky]]
2 (This isn't important to me - I don't use MediaWiki or Creole syntax myself -
3 but just thinking out loud...)
4
5 The [[ikiwiki/wikilink]] syntax IkiWiki uses sometimes conflicts with page
6 languages' syntax (notably, [[plugins/contrib/MediaWiki]] and [[plugins/Creole]]
7 want their wikilinks the other way round, like
8 `\[[plugins/write|how to write a plugin]]`). It would be nice if there was
9 some way for page language plugins to opt in/out of the normal wiki link
10 processing - then MediaWiki and Creole could have their own `linkify` hook
11 that was only active for *their* page types, and used the appropriate
12 syntax.
13
14 In [[todo/matching_different_kinds_of_links]] I wondered about adding a
15 `\[[!typedlink to="foo" type="bar"]]` directive. This made me wonder whether
16 a core `\[[!link]]` directive would be useful; this could be a fallback for
17 page types where a normal wikilink can't be done for whatever reason, and
18 could also provide extension points more easily than WikiLinks' special
19 syntax with extra punctuation, which doesn't really scale?
20
21 Straw-man:
22
23     \[[!link to="ikiwiki/wikilink" desc="WikiLinks"]]
24
25 --[[smcv]]