Macros: this is more a "micro" than a macro: [{$xxxx$}] is simply replaced by a string coming from the jspwiki.properties file (no danger of infection there!).
The expansion is parsed for Wiki markup.

Whatever they are, they're not variables and should not be treated as such. The semantics and the intent are completely different. This is, as far as I am concerned, a kludge, and I would not be willing to take it in. It needs more design, way more design than this.

Expanding the WikiMarkup should be done by either extending the JSPWikiMarkupParser or adding new PageFilters.

If you have better ideas, I will buy them: I need such a mechanism because http://www.destin.be/CAFE contains more than 10 thousand pages coming from a database: generating plugin calls without anyway to correct/adapt them globally is foolish.

As I said, develop a PageFilter to take care of this instead of a hack in the VariableManager, that way others can use it too.

/Janne

Reply via email to