]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/sigs.mdwn
recap of yamlfront issue opened on github
[ikiwiki.git] / doc / todo / sigs.mdwn
1 Need a way to sign name in page that's easier to type than "--\[[Joey]]"
2 and that includes the date.
3
4 What syntax do other wikis use for this? I'm considering "\[[--]]"
5 as it has a nice nmemonic.
6
7 OTOH, adding additional syntax for this would be counter to one of the
8 design goals for ikiwiki: keeping as much markup as possible out of the
9 wiki and not adding nonstandard markup. And it's not significantly hard to
10 type "--\[[Joey]]", and as to the date, we do have page history.
11
12 I'm also unsure how to possibly implement this. Seems ikiwiki would need to
13 expand the rune to the user's name when a page is saved, but that leaves
14 out svn commits.
15
16 ---
17
18 Or, just make a sig plugin that expands `~~~~` and `~~~` as wikipedia does.
19 The plugin could be an editcontent hook, so it would take effect only when a
20 page was edited via the web.
21
22 I tried implementing this, but to make the link to the user, I wanted to
23 use `userlink()`, which generates html. But the right thing to generate is
24 really a wikilink. Except for openid, when the best thing to generate is a
25 markdown link. Except when the page isn't formatted in markdown..