Hi, On Jan 24, 2013, at 8:34 AM, Richard Hierlmeier <[email protected]> wrote:
Am 24.01.2013 07:29, schrieb Ldm Public:
Hello,
I've tried to document this Macro on http://platform.xwiki.org by running/displaying somewhere the macro results, but I failed : - I'm not allowed to create a new page (I was thinking of creating a page containing Richard's macro) - I'm not allowed to modify syntax page http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax (I was thinking of adding a footnote with link to the extension) - thus I've checked if I was allowed to add a comment on the page http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax and I succeed with a dummy comment but now I can not change/remove this comment ;-(.
I also tried to run the python script in the
http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages
page. But it is not possible because my user account has no programming rights on extensions.xwiki.org.
Someone of the XWiki team with programming rights can do it ;:.
Actually our practice is not execute scripts on extensions.xwiki.org since that takes CPU/memory and is potentially dangerous for the stability of the platform. It's also more maintenance intensive. In addition the result only represent the result on the XWiki version installed there. Thus our practice is to attach screenshots instead. Thanks -Vincent
Richard
2 requests: First : please delete my dummy comment here : http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax . That's in advance to Wiki admins Second : what is the best way to "promote" Richard's macro and to let users know what are / how they can check the available languages in Code macro ?
regards,
Le 23/01/2013 08:10, Richard Hierlmeier a écrit :
Am 22.01.2013 18:04, schrieb Vincent Massol:
On Jan 22, 2013, at 5:51 PM, Richard Hierlmeier <[email protected]> wrote:
Am 21.01.2013 21:37, schrieb Vincent Massol:
Hi Richard,
On Jan 21, 2013, at 9:10 PM, Richard Hierlmeier <[email protected]> wrote:
> > Hi XWiki users, > > I could not find in the XWiki documentation a hint of the > supported languages for the code macro. > > I wrote a small script in a XWiki page that read out of pygment > (the technology behind the code macro) all supported languages > with language name, files extension and mimetype. > > See: > > http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages >
Very nice! Would be awesome if you contribute it as a code snippet on http://extensions.xwiki.org ! :)
I added the following page:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Supported+Languages+in+...
Thanks but this is not correct…
What you need to do is contribute an extension of type "snippet".
Go to http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome and in the "contribute extension" field type "Supported Languages in Code Macro" and click submit… :)
Sorry for that,
I added a extension is the described way:
http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages
Vincent can you delete the incorrect page.
Richard
Thanks -Vincent