.
De : Eduard Moraru
À : Pascal BASTIEN ; XWiki Users
Envoyé le : Lundi 21 juillet 2014 15h45
Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug?
Hi Pascal,
Why are you doing this manually?
If you pass $NULL to the wikilanguage parameter of $xwiki.copyDocument
retrieve: doc.language in my for each loop ...
>
>
>
> De : Jeremie BOUSQUET
> À : Pascal BASTIEN ; XWiki Users >
> Envoyé le : Vendredi 11 juillet 2014 14h13
> Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug?
>
&g
yé le : Vendredi 11 juillet 2014 14h13
Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug?
Hi,
2014-07-11 9:06 GMT+02:00 Pascal BASTIEN :
Do you mean I must launch on query by langage?
>
>
>Yes I agree with you about this $item then I can use id of docu
> $itemDoc.language and $itemDoc.name return nothing. Are there a magic
> functions?
> Thxs
>
>
>
>
> De : Marius Dumitru Florea
> À : Pascal BASTIEN ; XWiki Users >
> Envoyé le : Jeudi 10 juillet 2014 21h20
> Objet : Re: [xwiki-users]
mDoc.name return nothing. Are there a magic functions?
Thxs
De : Marius Dumitru Florea
À : Pascal BASTIEN ; XWiki Users
Envoyé le : Jeudi 10 juillet 2014 21h20
Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug?
Just print $item a
>
>
>
> Did I found a bug?
>
> NB: I don't use "#foreach ($docName in
$xwiki.getSpaceDocsName("SandboxTemplate")" because if Administrator
doesn't display hidden document, this code doesn't return SandboxTemplate
space hidden documents :-(
>
I'm nice :-) http://extensions.xwiki.org/xwiki/bin/view/Extension/Reinit_Sandbox
De : "vinc...@massol.net"
À : XWiki Users
Envoyé le : Mardi 8 juillet 2014 18h51
Objet : Re: [xwiki-users] how to purge history in a space?
Hi Pascal,
It c
Pascal BASTIEN
De : Pascal BASTIEN
À : XWiki Users
Envoyé le : Mercredi 9 juillet 2014 9h31
Objet : Re: [xwiki-users] how to purge history in a space?
Sure!
NB: is it to late for my commit for
6.1?:https://github.com/xwiki/xwiki-platform/pull/297
_
__
De : Pascal BASTIEN
À : XWiki Users
Envoyé le : Mercredi 9 juillet 2014 9h31
Objet : Re: [xwiki-users] how to purge history in a space?
Sure!
NB: is it to late for my commit for
6.1?:https://github.com/xwiki/xwiki-platform/pull/297
De
Sure!
NB: is it to late for my commit for
6.1?:https://github.com/xwiki/xwiki-platform/pull/297
De : "vinc...@massol.net"
À : XWiki Users
Envoyé le : Mardi 8 juillet 2014 18h51
Objet : Re: [xwiki-users] how to purge history in a space?
Hi P
> I wanted reinit my sandbox with velocity code and I wonder if there aren't a
> bug with resetArchive method (or if I'm wrong with my syntax)
>
> Thxs anyway :-)
>
>
>
>
>
> De : "vinc...@massol.net&quo
on except
Sandbox.WebHome
Sandbox/?viewer=history return: "Advertissment: impossible to find this
document"
The velocity macro to reinit my Sandbox working well now.
Thxs
De : Pascal BASTIEN
À : XWiki Users
Envoyé le : Mardi 8 juillet 2014 15h07
Obj
__
De : "vinc...@massol.net"
À : XWiki Users
Envoyé le : Mardi 8 juillet 2014 11h35
Objet : Re: [xwiki-users] how to purge history in a space?
On 8 Jul 2014 at 11:14:25, Pascal BASTIEN
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:
> Yes thxs you, I saw this ex
does it and do the same.
Thanks
-Vincent
>
> De : "vinc...@massol.net"
> À : XWiki Users
> Envoyé le : Mardi 8 juillet 2014 10h52
> Objet : Re: [xwiki-users] how to purge history in a space?
>
>
> Hi Pascal,
>
>
nsion.
De : "vinc...@massol.net"
À : XWiki Users
Envoyé le : Mardi 8 juillet 2014 10h52
Objet : Re: [xwiki-users] how to purge history in a space?
Hi Pascal,
Does it work with
http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Document+History ?
Thanks
Hi Pascal,
Does it work with
http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Document+History ?
Thanks
-Vincent
On 8 Jul 2014 at 10:29:13, Pascal BASTIEN
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:
> Hello,
> I need some help with my velocity script.
> I try t
Hello,
I need some help with my velocity script.
I try to remove history of pages on a space.
This code work well for a page:
{{velocity}}
$xwiki.getDocument('BacASable.TestPage3').getDocument().resetArchive($context.context)
{{/velocity}}
but my script fail when I launch this one to remove his
17 matches
Mail list logo