[xwiki-users] Need programming rights on MyXwiki.org

2015-10-04 Thread Ldm Public

Hi All,

I need to empty recycle bin (both pages and attchments) but I'm not authorized 
to do so.


Page:
http://tutos.myxwiki.org/xwiki/bin/view/Main/AllDocs?view=deletedAttachments

Returns:
This document requires programming rights and needs to be saved by an 
administrator of this Wiki


Thanks for your help I'm not in a hurry :-).

Best regards
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Need programming rights on MyXwiki.org

2015-10-04 Thread Thomas Mortagne
Should be ok now.

On Sun, Oct 4, 2015 at 1:05 PM, Ldm Public  wrote:
> Hi All,
>
> I need to empty recycle bin (both pages and attchments) but I'm not
> authorized to do so.
>
> Page:
> http://tutos.myxwiki.org/xwiki/bin/view/Main/AllDocs?view=deletedAttachments
>
> Returns:
> This document requires programming rights and needs to be saved by an
> administrator of this Wiki
>
> Thanks for your help I'm not in a hurry :-).
>
> Best regards
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] saveandcontinue space in xwiki 7.2?

2015-10-04 Thread Miroslav Galajda
Hi, after fresh new installation of xwiki 7.2, I noticed that there's new space 
called 'saveandcontinue'.
It can be found on the dashboard/welcome page. It is also shown in My Recent 
Modifications panel and in Activity stream, after modification of xwiki 
preferences and mail settings. This is probably some bug. It seems to me that 
this is something internal which should not be shown and should not be treated 
as my modification. The shown pages inside saveandcontinue space are just empty 
pages. What's wrong?


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] saveandcontinue space in xwiki 7.2?

2015-10-04 Thread Miroslav Galajda
Hi, 

after a fresh new installation of xwiki 7.2, I noticed that there's new space 
called 'saveandcontinue'.
It can be found on the dashboard/welcome page in pages tree. It is also shown 
in My Recent Modifications panel and in Activity stream, after modification of 
xwiki preferences and mail settings. This is probably some bug. It seems to me 
that this is something internal which should not be shown and should not be 
treated as my modification. The shown pages inside saveandcontinue space are 
just empty pages. What’s wrong?

Mirec
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Defining a macro for the confluence syntax

2015-10-04 Thread Paul Libbrecht
Hello Vincent,
> What failed?
Reading the content.
> I was just saying that our Confluence parser should support macros. I’ve just 
> tried writing a page in Confluence syntax using an existing XWiki macro and 
> it worked:
>
> {html}hello{html}
I can't explain why this one works but I presume there's a switch
internally to it that automatically converts the html macro into a
closing html macro (and indeed, it's nonsense to nest html).
> This worked too:
>
> {documentTree}
> This worked too (showing we can pass one parameter):
> {documentTree:checkboxes=true}
Yes, parameters reading (single and multiple) worked fine (but they need
escaping).


I tried a tick more formally to see if I could make a macro with content
and failed. Here's how.

Page:
  {testmacro}
  this is the content
  {testmacro}

Macro: (Tools.TestMacro, object XWiki.WikiMacroClass)
id: testmacro
inline: no (I tried yes too, with inlined macro in the page)
visibility: global
macro content type: optional
macro code:
testMacroStart{{velocity}}$!xcontext.macro.content{{/velocity}}testMacroEnd

The resulting page gives:

testMacroStarttestMacroEnd
this is the content
testMacroStarttestMacroEnd

I tried to adjust the content type to mandatory but this bragged...
having no content!

If macro content was thinkable, then there should be somewhere in the
grammar a different mark for start and end macro or? I don't see the latter.

Since, according to 
https://developer.atlassian.com/confdev/tutorials/macro-tutorials-for-confluence/creating-a-new-confluence-macro,
"there are three available body types for macros: PLAIN_TEXT, RICH_TEXT,
and NONE. ", I suppose the only solution is to make the scanner read the
macro content type and fork differently if mandatory (and optional?) or
no content type. Maybe these two levels are a bit far from each other...

Paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users