Revision [2809]

This is an old revision of AutoReplace made by ChristianBarthelemy on 2004-12-03 19:21:57.


The problem

I like the simplicity of the automatic link creation when I type a new WikiWord. But I hate having to think about it all the time and as I naturally write "the wiki word" I would like the system to understand that for me.
Those having a palm certainly like the capability to code small sequences so that they are transformed into long words as soon as typed. The same kind of thing exists in most of the word processors as well.

My solution

Having a database used when saving (or editing?) the WikiPage to replace an Input Entry by the Output Entry to which it is linked.
This database would be fed by an appropriate action used in the code of the WikiPages: {{equivalent words="auto replace*automatic replace" separator ="*" casematters="no" dissociated="no"}}.
Such an action placed on this very WikiPage would then transform any string "auto replace" into [[AutoReplace auto replace]].

So what?

I don't think I can write this code yet so I rely on your expertise if the idea looks interesting.

There are 3 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki