Hello
A new version of the Limits Application is available. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Limits+Application/#Hv…
You can install with the Extension Manager.
This version fixes an important bug which prevents the user to install the
application via the Extension Manager.
However, I would remind you that using the Extension Manager to install
this particular application is not the recommend way, since any user having
the administration right will be able to uninstall it. And thus remove the
limitations you wanted to enforce.
Have a good day,
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
> >
> > I use this methods,
> hasParent(EntityReference expectedParent) and i noticed that
> I can not use string to set EntityReference.
> > Then i must use this before: "#set
> ($reference =
> $services.model.resolveSpace('xwiki:Encyclopédie'))"
> and "$doc.documentReference.hasParent($reference)"
> because
> $doc.documentReference.hasParent('xwiki:Encyclopédie')
> doesn't work.
> > Am I right? Anyway, I
> can understand that.
>
> There
> is one magic thing about Velocity in XWiki that you need to
> keep
> in mind: it automatically convert
> parameters to the right type (when
> there is
> a converter provided for that type).
>
> For example the converter for the type
> EntityReference understand the
> following
> syntax: [<entitytype>:]<entityreference> (the
> default entity
> type is "document"
> if you don't provide it) so the space with
> reference "xwiki:Encyclopédie" will
> be the string
> "space:xwiki:Encyclopédie" as in
> hasParent('space:xwiki:Encyclopédie').
Right :-) $doc.documentReference.hasParent('space:xwiki:Encyclopédie') work well but I don't understand why we must use "xwiki" in space name.
I suppose I must use all space path.
>
> >
> >
> Another point about documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe…
> (because I spend a lot of time to identify my issue
> because the "x" characters:
> >
> Create a Document Reference: "#set ($reference =
> $services.model.createDocumentReference("wiki",
> ["space"], "page"))"
> > but
> >
> $doc.documentReference.spaceReferences.get(0) display
> "Space xwiki:Encyclopédie".
> >
> Reference use "xwiki" but createDocumentReference
> use "wiki"?
> > "wiki"
> is it a wiki name example?
>
> I don't really understand your example
> $services.model.createDocumentReference("wiki",
> ["space"], "page")
> have
> nothing to do with $doc.documentReference. It just means you
> are
> executing this script on main wiki
> ("xwiki").
>
> >
> > Another question:
> > What is the difference between:
> $services.model.createDocumentReference and
> services.model.resolveDocument?
> > With
> resolveDocument the Page must exist?
> >
> Can I use CreateDocumentReference if target document
> exist?
>
> resolveDocument take
> a reference as a String and parse it (it's using
> a DocumentResolver component for this) and find
> what is not provided
> in the String (by
> default from the context) while
> createDocumentReference takes each element of
> the reference separately
> and know nothing
> about reference syntax.
>
>
I mean: is it the same utility?
#set ($reference = $services.model.createDocumentReference("wiki", ["space1","space2"], "page"))
#set ($reference = $services.model.resolveDocument("wiki:space1.space2.page))
> >
> > Last point:
> > I think these 2 simples examples missing
> in: http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe…
> > #set ($reference =
> $services.model.resolveSpace('xwiki:MySpace'))
> > #set ($reference =
> $services.model.resolveSpace('xwiki:MySpace.MyPage'))
> > What do you think?
>
> Not sure people create space references that
> much but sure why not.
Sorry I wanted to write:
#set ($reference = $services.model.resolveSpace('xwiki:MySpace'))
#set ($reference = $services.model.resolveDocument('xwiki:MySpace.MyPage'))
but mayb it is not necessary because you told me than xwiki automatically convert parameters to the right type.
Hello xwiki users
I need a little bit of light about reference.
I use this methods, hasParent(EntityReference expectedParent) and i noticed that I can not use string to set EntityReference.
Then i must use this before: "#set ($reference = $services.model.resolveSpace('xwiki:Encyclopédie'))" and "$doc.documentReference.hasParent($reference)" because $doc.documentReference.hasParent('xwiki:Encyclopédie') doesn't work.
Am I right? Anyway, I can understand that.
Another point about documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe… (because I spend a lot of time to identify my issue because the "x" characters:
Create a Document Reference: "#set ($reference = $services.model.createDocumentReference("wiki", ["space"], "page"))"
but
$doc.documentReference.spaceReferences.get(0) display "Space xwiki:Encyclopédie".
Reference use "xwiki" but createDocumentReference use "wiki"?
"wiki" is it a wiki name example?
Another question:
What is the difference between: $services.model.createDocumentReference and services.model.resolveDocument?
With resolveDocument the Page must exist?
Can I use CreateDocumentReference if target document exist?
Last point:
I think these 2 simples examples missing in: http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe…
#set ($reference = $services.model.resolveSpace('xwiki:MySpace'))
#set ($reference = $services.model.resolveSpace('xwiki:MySpace.MyPage'))
What do you think?
Ty
Pascal B
Due to some action all macro's on my XWiki are giving errors; not registered.
How can I do a batch registration to fix that problem...
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
According to your suggestions, I have started some iterations in a real
wiki.
Proposition 8, iteration 1
==================
http://jira.xwiki.org/secure/attachment/33243/P8_iter1.png
* Same wording
* Separation between wiki-related items and global items
* Remove "Home", because it's already in the breadcrumb and it is not
necessary to have it in this "often used features" menu.
"Create Wiki" and "Delete Wiki", because it should be done inside the Wiki
Index.
Proposition 8, iteration 2
==================
On subwiki:
http://jira.xwiki.org/secure/attachment/33245/P8_iter2.png
On main wiki:
http://jira.xwiki.org/secure/attachment/33246/P8_iter2_mainwiki.png
* Same but with a more human wording
* Applications is displayed before users, because I think we more often
need to use an app than we need to see other users
Proposition 8, iteration 3
==================
http://jira.xwiki.org/secure/attachment/33247/P8_iter3.png
* Same but introduced the "Recent Changes" entry (leads to an Activity
Stream maybe)
My conclusions
===
* Better look & feel
* More human wording
* Only feature we need often
Is it going in the right direction?
Thanks,
Guillaume
Thank you, Marius! It worked.
Best Regards,
Julio
De: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Para: XWiki Users <users(a)xwiki.org>
Enviadas: Quinta-feira, 17 de Novembro de 2016 4:11
Assunto: Re: [xwiki-users] Search: how to return all documents without selecting all language?
Hi Julio,
As mentioned on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio…
the configuration can be found in the Main.SolrSearchConfig page. Edit in
Wiki edit mode and look for "facetQuery". Inside this group you have:
'locale': ["$xcontext.locale", '']
Try
'locale': ['pt', 'pt_BR']
Hope this helps,
Marius
On Wed, Nov 16, 2016 at 8:16 PM, Julio Brum <brumpaiva(a)gmail.com> wrote:
> Hello,
>
> In our XWiki, we have documents in the pt language and pt_BR (I do not know
> why ...). When I use wiki search it returns, by default, only the documents
> in the pt_BR language. To return all documents, it is necessary to mark in
> the filters the language pt and pt_BR (or uncheck all). How do I return, by
> default, all documents of all languages? Our users are having trouble
> finding the documents.
>
>
> Thank you in advance,
> Julio
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Dear Vincent and Ludovic,
After I added these configuration """* Its work*""" OMG. Thank you
very much.
Now I'll tuning the system It's slow and use a lot of memory.
Million Thank
Waranon
--
View this message in context: http://xwiki.475771.n2.nabble.com/I-can-t-integrate-google-apps-for-login-w…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
In our XWiki, we have documents in the pt language and pt_BR (I do not know
why ...). When I use wiki search it returns, by default, only the documents
in the pt_BR language. To return all documents, it is necessary to mark in
the filters the language pt and pt_BR (or uncheck all). How do I return, by
default, all documents of all languages? Our users are having trouble
finding the documents.
Thank you in advance,
Julio
Hi All,
I have two XWiki 8.3 instances, both are set up for multilangue support:
default language hu, enabled languages en, hu.
I have created a page by script in instance 1 and created a hu translation
for this page by the editor.
The page has many objects.
I have exported the page as xar from instance 1 and imported into instance
2.
When I access the localized page in instance 2 it does not lists its
objects,
the $doc.getxWikiObjects() in velocity returns an empty map.
Do you have any idea what can cause this?
What could be missing in instance2?
The XML content almost identical on instance1, but the
$doc.getxWikiObjects() gives a non empty result
when the localized page rendered.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-translated-page-strange-behaviour-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.