[Pmwiki-users] Replace text on save?
Thomas -Balu- Walter
list+pmwiki-users
Sun Mar 14 19:36:22 CST 2004
Hi experts :),
is there a way to replace parts of the text when an author saves the
page?
I am thinking of adding some kind of shortcut like ~~~ (better ideas?)
that will be replaced by
- placed somewhere in the line (or only at end?)
- if author is set: ''-- {{~Author}}''
- if author is not set: ''-- 127.0.0.1''
- starting at first position in line:
- if author is set: '''{{~Author}}:'''
- if author is not set: '''127.0.0.1:'''
when the page gets saved.
This would make it easier for authors to mark their changes or quotes.
Having the special version at the beginning of a line makes it easier to
create some sort of "chat".
Balu
PS: Adding some WikiStyle would make the shortcut even more interesting
- e.g.: %Author%'''{{~Author}}:'''%%
More information about the pmwiki-users
mailing list