X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=doc%2Ftodo%2Fsigs.mdwn;h=f4f8edf13f4ed85b052ab78375a9124dfa0b9ca9;hb=90a351d360e37428712bded0aed659e29f8d1e2f;hp=61c5312d43b8a868fc2aea2c5a2cca6d7ce93b47;hpb=f6d7d1ce762375140ce0eec7eda3e037c6873986;p=ikiwiki.git diff --git a/doc/todo/sigs.mdwn b/doc/todo/sigs.mdwn index 61c5312d4..f4f8edf13 100644 --- a/doc/todo/sigs.mdwn +++ b/doc/todo/sigs.mdwn @@ -1,12 +1,25 @@ Need a way to sign name in page that's easier to type than "--\[[Joey]]" and that includes the date. -What syntax do other wikis use for this? I'm considering "\[[--]]" (with -spaces removed) as it has a nice nmemonic. +What syntax do other wikis use for this? I'm considering "\[[--]]" +as it has a nice nmemonic. OTOH, adding additional syntax for this would be counter to one of the design goals for ikiwiki: keeping as much markup as possible out of the wiki and not adding nonstandard markup. And it's not significantly hard to type "--\[[Joey]]", and as to the date, we do have page history. -I'm also unsure how to possibly implement this. Seems ikiwiki would need to expand the rune to the user's name when a page is saved, but that leaves out svn commits. \ No newline at end of file +I'm also unsure how to possibly implement this. Seems ikiwiki would need to +expand the rune to the user's name when a page is saved, but that leaves +out svn commits. + +--- + +Or, just make a sig plugin that expands `~~~~` and `~~~` as wikipedia does. +The plugin could be an editcontent hook, so it would take effect only when a +page was edited via the web. + +I tried implementing this, but to make the link to the user, I wanted to +use `userlink()`, which generates html. But the right thing to generate is +really a wikilink. Except for openid, when the best thing to generate is a +markdown link. Except when the page isn't formatted in markdown..