aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/sigs.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-26 21:33:25 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-26 21:33:25 +0000
commit6c89a635bb0715fd06b0061692fe39b3e79fcad7 (patch)
tree13b2c665fdb30a534aa33ed83abba0d308f4e7b1 /doc/todo/sigs.mdwn
parent68db2dceb87a83e2bfa201dc52cc48c9b389c403 (diff)
downloadikiwiki-6c89a635bb0715fd06b0061692fe39b3e79fcad7.tar
ikiwiki-6c89a635bb0715fd06b0061692fe39b3e79fcad7.tar.gz
* Add an editcontent hook.
Diffstat (limited to 'doc/todo/sigs.mdwn')
-rw-r--r--doc/todo/sigs.mdwn16
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/todo/sigs.mdwn b/doc/todo/sigs.mdwn
index f3ec2cbe8..f4f8edf13 100644
--- a/doc/todo/sigs.mdwn
+++ b/doc/todo/sigs.mdwn
@@ -1,8 +1,8 @@
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
@@ -15,7 +15,11 @@ out svn commits.
---
-Alternate idea: Make a sig plugin, which would expand --Name to
---[[user/Name]] (the "user/" bit would be configurable). This would be very
-easy to do, although it would need to try to avoid false positives, such
-as `--foo` in C code..
+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..