[xwiki-users] Macro in html-macro
Hi, is there a way to include an other macro in a html macro? Stefan Bachert __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
Hi Stefan, stefan bachert wrote:
Hi,
is there a way to include an other macro in a html macro?
As specified on http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro you can use wiki=true but be aware to escape special xwiki2.0 chars that you don't want to be interpreted. In case you don't know, all macros are documented on http://code.xwiki.org/xwiki/bin/view/Macros/ Hope this helps, Marius
Stefan Bachert
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi stefan, I think you are asking too many questions without participating / helping in any other conversation. You might want to slow down a bit ;) - Asiri 2010/2/22 stefan bachert <[email protected]>
Hi,
is there a way to include an other macro in a html macro?
Stefan Bachert
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Something like that? {{html}} <i>Italics</i> {{warning}} This is a warning {{/warning}} some text {{/html}} {{html wiki=false}} will turn off further wiki parsing and inner macros will be displayed verbatim. Caleb James DeLisle stefan bachert wrote:
Hi,
is there a way to include an other macro in a html macro?
Stefan Bachert
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, I am sorry, but I am working very intensive on xwiki (7 days a week). However, I am still a beginner as I started two weeks before. And it is very hard to reply on a digest mailing list. I changed this in spite of the ugly gui. Stefan Bachert -- View this message in context: http://n2.nabble.com/Macro-in-html-macro-tp4611361p4617688.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, I figured it out now. {{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}} setting wiki=true will enable included macros, too. This is somewhat crude and not documented -- View this message in context: http://n2.nabble.com/Macro-in-html-macro-tp4611361p4617987.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro Thanks -Vincent
Hi, Ok, I see it now, too. However, the attribute name "wiki" is very misleading. I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up. Stefan Bachert ________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro Thanks -Vincent _______________________________________________ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users ________________________________ View message @ http://n2.nabble.com/Macro-in-html-macro-tp4611361p4618020.html To unsubscribe from Re: Macro in html-macro, click here. __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com -- View this message in context: http://n2.nabble.com/Macro-in-html-macro-tp4611361p4618078.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax! -Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
On Tue, Feb 23, 2010 at 11:31, Stefan Bachert <[email protected]> wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading. I still get no link for "wiki syntax" to "macro".
{{macro param="value"}} only mean something in xwiki/2.0 syntax, that's how this syntax interpret a macro. Other syntaxes will do it another way ({macro} in confluence for example, etc...). So it's impossible to write a macro not linked to a wiki syntax because no syntax mean that you only have plain text and in this case you don't have syntax for macro either.
Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent _______________________________________________ users mailing list [hidden email] http://lists.xwiki.org/mailman/listinfo/users
________________________________
View message @ http://n2.nabble.com/Macro-in-html-macro-tp4611361p4618020.html To unsubscribe from Re: Macro in html-macro, click here.
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com -- View this message in context: http://n2.nabble.com/Macro-in-html-macro-tp4611361p4618078.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hi Vincent, Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it. Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word. Stefan Bachert ________________________________ Von: Vincent Massol <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax! -Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
On Feb 23, 2010, at 12:48 PM, stefan bachert wrote:
Hi Vincent,
Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it.
End users should use the wysiwyg editor and the add macro dialog box from there (which has a description).
Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung
And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe
Almost all wikis have the notion of macros (sometimes called extensions or plugin too) so this is no different from any other wiki.
There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word.
Sure, we couldn't find a better name to explain that the wiki syntax is evaluated or not. I initially wanted wikiSyntax=true|false but in order to have a short and concise name we agreed on "wiki". Note that we wouldn't be able to change it in XWiki syntax 2.0 (since it would break backward compat). The only window of opportunity to change it would be XWiki Syntax 2.1. Thanks -Vincent
Stefan Bachert
________________________________ Von: Vincent Massol <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax!
-Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
XWiki 2.0 syntax is defined here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros Calling macros "not syntax" would be a big change in the way XWiki is documented, and it makes no sense to me since macros are handled by the syntax parser and they are not any external script language. Caleb James DeLisle stefan bachert wrote:
Hi Vincent,
Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it.
Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung
And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe
There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word.
Stefan Bachert
________________________________ Von: Vincent Massol <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax!
-Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros following the link I found ----------------- In XWiki Syntax 2.0, by default the HTML macro understands wiki syntax. To prevent this, use {{html wiki="false"}}. ----------------- Looking in http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro states ----------------------------------------------------------------------------------------------------- wiki yes true/false (Default) false Indicate if the wiki syntax (including other macros) inside the macro is evaluated or not. ----------------------------------------------------------------------------------------------------- Both pages contradict each other. Due to tests the first page is wrong, the latter is true. To allow "wiki syntax" the attribute wiki has to be EXPLICITELY set to "true" {{html wiki="true"}} Stefan Bachert ________________________________ Von: Caleb James DeLisle <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 13:19:37 Uhr Betreff: Re: [xwiki-users] Macro in html-macro XWiki 2.0 syntax is defined here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros Calling macros "not syntax" would be a big change in the way XWiki is documented, and it makes no sense to me since macros are handled by the syntax parser and they are not any external script language. Caleb James DeLisle stefan bachert wrote:
Hi Vincent,
Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it.
Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung
And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe
There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word.
Stefan Bachert
________________________________ Von: Vincent Massol <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax!
-Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
XWikiSyntax page is wrong, fixing it. For all macros the reference documentation is the one on code.xwiki.org. On Tue, Feb 23, 2010 at 13:54, stefan bachert <[email protected]> wrote:
Hi,
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros following the link I found ----------------- In XWiki Syntax 2.0, by default the HTML macro understands wiki syntax. To prevent this, use {{html wiki="false"}}.
-----------------
Looking in http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro states ----------------------------------------------------------------------------------------------------- wiki yes true/false (Default) false Indicate if the wiki syntax (including other macros) inside the macro is evaluated or not. -----------------------------------------------------------------------------------------------------
Both pages contradict each other. Due to tests the first page is wrong, the latter is true. To allow "wiki syntax" the attribute wiki has to be EXPLICITELY set to "true" {{html wiki="true"}}
Stefan Bachert
________________________________ Von: Caleb James DeLisle <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 13:19:37 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
XWiki 2.0 syntax is defined here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros Calling macros "not syntax" would be a big change in the way XWiki is documented, and it makes no sense to me since macros are handled by the syntax parser and they are not any external script language.
Caleb James DeLisle
stefan bachert wrote:
Hi Vincent,
Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it.
Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung
And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe
There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word.
Stefan Bachert
________________________________ Von: Vincent Massol <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax!
-Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki] <[email protected]> An: Stefan Bachert <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On 02/23/2010 12:48 PM, stefan bachert wrote:
Hi Vincent,
Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it.
And a USER would expect a macro to understand Velocity? I doubt that any regular user knows Velocity at all. I doubt that a regular user expects macros to be executed at a different level than the other wiki markup.
Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung
And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe
Comparing the XWiki wiki syntax with the one on wikipedia is not right. These are completely different wikis, with completely different purposes.
There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word.
Stefan Bachert
________________________________ Von: Vincent Massol<[email protected]> An: XWiki Users<[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax!
-Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki]<[email protected]> An: Stefan Bachert<[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Hi, I am an user of xwiki and I understand velocity. Maybe my users of my Wiki, which is an application of xwiki, won't understand velocity. However, they won't see it all. They will not even see "(x)wiki syntax" Stefan Bachert ________________________________ Von: Sergiu Dumitriu <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 14:12:36 Uhr Betreff: Re: [xwiki-users] Macro in html-macro On 02/23/2010 12:48 PM, stefan bachert wrote:
Hi Vincent,
Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it.
And a USER would expect a macro to understand Velocity? I doubt that any regular user knows Velocity at all. I doubt that a regular user expects macros to be executed at a different level than the other wiki markup.
Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung
And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe
Comparing the XWiki wiki syntax with the one on wikipedia is not right. These are completely different wikis, with completely different purposes.
There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word.
Stefan Bachert
________________________________ Von: Vincent Massol<[email protected]> An: XWiki Users<[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax!
-Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki]<[email protected]> An: Stefan Bachert<[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
Hi, I don't quite agree ... Developers might see velocity, would they be end user or not, of course. But they might see wiki syntax even if they are not developers, because this is what wiki syntax was created in first place : easy editing "in place" with very simple syntax to learn (** for bold and such). Well I affirm that without being really sure, but I always thought it was what wiki syntax was about :-) Of course wikis are more and more powerful, and some (not much) come with nice wysiwyg like xwiki, so wiki syntax can be a bit more complex now as it is more hidden to end users. And XWiki pushes this very far beeing also a true applicative platform through macros velocity, groovy, etc. But I still think that there should be some separation between heavily "programmatic" and scripted content, and just plain or wiki formatted text. To be clearer, you could have a home page with some descriptive text (formatted text), and then the list of last pages updated in the wiki (velocity). It would be clearer for end users if the call to velocity was done through a macro call, or a page inclusion with {{include}} macro. This way you can edit the page wysiwyg or wiki mode, and understand it pretty well even if you're not a programmer, and modify the descriptive text if you're authorized with little chance to break everything ... Of course, if your wiki is read-only for everyone but you, it means there will be no other end-users than you, and if you program you're supposed to ... learn wiki a bit more than regular users ;-) BR, Jeremie 2010/2/23 stefan bachert <[email protected]>
Hi,
I am an user of xwiki and I understand velocity.
Maybe my users of my Wiki, which is an application of xwiki, won't understand velocity. However, they won't see it all. They will not even see "(x)wiki syntax"
Stefan Bachert
________________________________ Von: Sergiu Dumitriu <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 14:12:36 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On 02/23/2010 12:48 PM, stefan bachert wrote:
Hi Vincent,
Technical you are surely totally right in the context of xwiki But try to see that stuff from an users point of view, not from a developers one. An user want to use xwiki not to analyse it.
And a USER would expect a macro to understand Velocity? I doubt that any regular user knows Velocity at all. I doubt that a regular user expects macros to be executed at a different level than the other wiki markup.
Look what the german wikipedia thinks about wiki syntax. No macros at all. http://de.wikipedia.org/wiki/Hilfe:Textgestaltung
And the french version, discusses something which looks like "xwiki macros" but they arent. http://fr.wikipedia.org/wiki/Aide:Syntaxe
Comparing the XWiki wiki syntax with the one on wikipedia is not right. These are completely different wikis, with completely different purposes.
There is no common sense what "Wiki syntax" means. So a better term would be helpful. However, it is not easy to find something better, all I am thinking of are rather a sentence than a word.
Stefan Bachert
________________________________ Von: Vincent Massol<[email protected]> An: XWiki Users<[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr Betreff: Re: [xwiki-users] Macro in html-macro
On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote:
Hi,
Ok, I see it now, too.
However, the attribute name "wiki" is very misleading.
It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd never be able to use macros when you write wiki syntax!
-Vincent
I still get no link for "wiki syntax" to "macro". Maybe with internal knowledge this may brighten up.
Stefan Bachert
________________________________ Von: vmassol [via XWiki]< [email protected]<ml-node%[email protected]>
An: Stefan Bachert<[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr Betreff: Re: Macro in html-macro
On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote:
Hi,
I figured it out now.
{{html wiki=true}} {{warning}}Warning{{/warning}} {{/html}}
setting wiki=true will enable included macros, too. This is somewhat crude and not documented
How can you say it's not documented? http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
Thanks -Vincent
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
__________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (9)
-
Asiri Rathnayake -
Caleb James DeLisle -
Jeremie BOUSQUET -
Marius Dumitru Florea -
Sergiu Dumitriu -
stefan bachert -
Stefan Bachert -
Thomas Mortagne -
Vincent Massol