(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-8) was last changed on 24-May-2008 13:58 by ChristophSauer  

This page was created on 19-May-2008 17:30 by YvesPiguet

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
Tilde is already the escape character. Plugin syntax would be the most obvious choice (something like {{{<<sig>>}}}).
Content refactored to [[Talk.MagicWord]]
At line 3 changed 18 lines
-- [[YvesPiguet]], 2008-May-19
Problem with Plugins is that they always create content at runtime (per page view) in the context of the current user. So if you would write a plugin in JSPWiki named {{{<<Sig>>}} it could always only replace the current user logged in. Clearly not what was intended. In JSPWiki the [[magic word]] "Signature" was implemented by a filter, replacing a markup at translation time, replacing the two minus and 4 tildes. So we have to distinguish from an technical point of view between
* Always at runtime -> plugins, create content dynamically (like portlets in portal software)
* Pre Translate -> filter
* Translate -> parser
* Post Translate -> filter
I don't have a clear picture yet how to categorize them more clearly to fit for all engines and converters. But because of the "PreTranslate" of the magic words, the tildes where no problem to implement in JSPWiki, except that you have to avoid to "pretranslate" them if they are put into a nowiki block.
{{{
--~~~~
}}}
I would therefore suggest that we prefix a magic word something, e. g. two [[HyphenAndDashes|dashes]].
-- [[ChristophSauer]], 2008-Mai-24 10:01 (CEST)
-- [[ChristophSauer]], 2008-Mai-24 13:58 (CEST)
Version Date Modified Size Author Changes ... Change note
8 24-May-2008 13:58 0.093 kB ChristophSauer to previous Moved to Talk.MagicWords
7 24-May-2008 13:58 0.093 kB ChristophSauer to previous | to last Moved to MagicWords.Talk
6 24-May-2008 13:58 0.094 kB ChristophSauer to previous | to last Moved to MagicWords.Talk
5 24-May-2008 13:55 0.002 kB ChristophSauer to previous | to last Refactored to magic words
4 24-May-2008 10:08 1.311 kB ChristophSauer to previous | to last plugins are generated per page view
3 24-May-2008 10:02 1.3 kB ChristophSauer to previous | to last plugins are generated per page view
2 24-May-2008 10:01 1.299 kB ChristophSauer to previous | to last plugins are generated per page view
1 19-May-2008 17:30 0.155 kB YvesPiguet to last Comment
« This page (revision-8) was last changed on 24-Mai-2008 13:58 by ChristophSauer