Hi,
Search results on wikis hosted on xxx.myxwiki.org returns:
"Failed to execute the [velocity] macro. Cause: [The execution of the
[velocity] script macro is not allowed. Check the rights of its last author
or the parameters if it's rendered from another script.]."
Thanks for your help, best regards,
--
View this message in context: http://xwiki.475771.n2.nabble.com/MyWiki-org-search-is-broken-tp7602163.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
We have editors that modified wiki pages and used the comment option that goes with a version.
But when viewing version history we see some comments ending with."..."
This suggests that the rest of the comment is in the database, but not viewable by the version history table
Is there a way to view the full comment made with a version
Is there a maximum text size for version comments
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>
Hi,
I am having issues when tring to link to headings in pages with markdown.
The regular syntax (which we'd have to keep, or at least keep as basis)
for this would be [link name](#headingId).
When markdown gets parsed for xwiki, ID's are being generated for the
headings, and if the id-codes are known it is a simple matter of linking
to those, however, this becomes a near impossibility to do
beforehand. Since we'd like to avoid having to re-edit every single page
after sending a markdown page to the api, we would like to keep
this quite simple syntax, since the only workaround we could do was
insert html tags at appropriate places - however these are not evaluated
when the document is parsed with markdown.
Plus, when I use a Link to #page, xwiki will try to link to a page
named %23page instead of linking to the heading "page".
So the question is - is there a way to keep the simple markdown-syntax,
or change it slightly, to link to a heading within this page?
Hi there,
Just want to ask where to find this path /var/lib/tomcatX/webapps/ ??
My distribution wizard is fail to appear at startup, and some notes said to
delete this file.
I dont found this path.
Somebody help
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Distribution-Wizard-tp7602145.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have recently upgraded from 3.5 to 5.5. The upgrade went fine however after logging in I accidentally hit the cancel button instead of the skip. I now want to rerun the Distribution Wizard but I cannot figure out how to re-trigger it. Can this be done?
Thank you for that information, it did indeed help.
Without understanding the phrase "on farm", that info
did not help too much, though =)
So, if you want to, blame it on me for not being informed
on what "on farm" means =)
Hi,
My wiki is in Portuguese (pt_BR), but the Tooltips of the Watchlist icons
at the top of the page are in English. How do I translate?
I need, for example, that the text "watch this page" be in Portuguese.
Http://extensions.xwiki.org/xwiki/bin/download/Extension/Watchlist+Applicat…
Best Regards,
Julio
Hi,
How can I manually migrate a page to Nested Pages without using the Nested
Pages Migrator Application (it does not work on my xwiki - I waited 15
minutes and nothing happened)?
Best Regards,
Julio
We have classes with date properties
Of these properties we set "Empty Is Today" = false
In the sheet we use
; <label for="WaihonaCode.qowClass_0_d1">$escapetool.xml($doc.displayPrettyName('d1', false, false))</label> : $doc.display('d1')
It displays a date and when saving the property is saved with that date while user did not enter any date. The date seems to be connected to the class-page-date?
The requirement is that the field can be left empty!
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>
Thxs for your advices but I didn't found a way to displayed last edited documents but finally I edited the code to resolve my use case.
My spaceindex
{{spaceindex sort="modificationDate" count="20" /}}
displayed this nice screen now:
https://snag.gy/ia6XOZ.jpg
Imodified spaceindex macro to list all last doc (nested and terminale page) from current space:
/bin/edit/Main/SpaceIndex?editor=object with
*****************
#if ("$!spaceMacroParam" != '')
#set ($spaceParam = $spaceMacroParam)
#end
#set ($docNames = $services.query.hql("where doc.space like ? or doc.space like ? order by $sortQuery").addFilter('currentlanguage').addFilter('hidden').setLimit($limit).bindValues(["${spaceParam}","${spaceParam}.%"]).execute())
#if ($docNames.size() == $limit)
##set ($docCount = $services.query.xwql('where doc.space = :space').bindValue('space', $spaceParam).addFilter('unique').count())
#set ($docCount = $services.query.hql("where doc.space like ? or doc.space like ?").bindValues(["${spaceParam}","${spaceParam}.%"]).addFilter('unique').count())
#set ($remaining = $mathtool.sub($docCount, $limit))
#if ($remaining > 0)
(% class="documentListMore" %) (((
//Liste des $limit derniers documents $sortMessg.//
{{html}}▶{{/html}} //[[Consulter la liste complète>>Main.SpaceIndex||queryString="space=$spaceParam"]]//
)))
#end
#end
{{html}}
#displayDocumentList($docNames false [])
*****************
and edited displayDocumentList macro in ./templates/macros.vm to add nice folder icon for parent page:
*****************
#foreach($document in $documentList)
#if ($document.getSpace() != $previousSpace && $displaySpaces)
#if($velocityCount > 1) </ul></div></li> #end ## Close previous space item if needed
<li class="xitem space"><div class="xitemcontainer">${escapetool.xml($document.getSpace())}<ul class="xlist"> ## Open new space item
#set($previousSpace = $document.getSpace())
#end
#if ($document.name == 'WebHome')
<li class="xitem space"><div class="xitemcontainer"><a href="$document.getURL()">${escapetool.xml($document.getPlainTitle())}</a></div></li>
#else
<li class="xitem page"><div class="xitemcontainer"><a href="$document.getURL()">${escapetool.xml($document.getPlainTitle())}</a></div></li>
#end
#end
#if($displaySpaces)
*****************
I haven't page and parent name with dot may be I will check my code again when I have some (I'm too lazy)
A better fix would be to add a new sort parameter in treeview but I didn't found the query in xwiki code.
Thxs
Pascal B
--------------------------------------------
En date de : Mer 14.12.16, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] Nested document killed {{spaceindex}} macro?
À: "XWiki Users" <users(a)xwiki.org>
Date: Mercredi 14 décembre 2016, 16h11
...
"Space"' on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
, but take into account the issue described
at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HFindingp…
.
- replace my
target /Main/SpaceIndex?space=MySpace by ... ???
>
On
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HFlami…
there is this mention:
"A new "children" viewer is now
accessible in the "more actions" menu,
along with the other viewers."
The URL is
/xwiki/bin/view/Path/To/Page/?viewer=children . It uses a
live
table. If you want a tree instead then
there is
http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/
.
Hope this helps,
Marius
> Probably I must create a custom LT to list
every sub pages
>
Hello,
With my xwiki7.0.1 to 8.4 upgrade process, I noticed that all my WebHome on spaces (with dashboard+{{spaceindex}} macro) are "broken".
After a little bit of search, I understood that spaceindex macro list only direct children terminal page...
In some different post from dev list, it seem that I must use {{documentTree}} macro instead.
My spaces dashboard use
{{spaceindex sort="modificationDate" count="20" /}}
to list the 20 more recents page and I added a shortcut to /bin/view/Main/SpaceIndex?space=MySpace (broken too:-( )
Could you give me some advices how can I replace my "spaceindex" to:
- list the 20 more recents page (terminale and none terminale) on current space?
I didn't found a "modificationDate" sorting parameter in {{documentTree}}
- replace my target /Main/SpaceIndex?space=MySpace by ... ???
Probably I must create a custom LT to list every sub pages
Finaly, may be a caution text must be added on this page: http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro
(ie "don't use this macro anymore with nested page!" or "list only direct children terminal page ")
Thxs for your help.
Pascal BASTIEN
Hi,
What alternatives to the default Gaptscha can be used? And how?
I like the 'I am not a robot' checkboxes that we see on more and more sites.
Our users complain about the read-ability of the current XWiki Gaptscha version
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>
Thanks for your help :)
Then I will have to make an update. And thanks for the Ticket...now I don't have to look for a version number.
Kind regards,
Patrick
Hello fellow Xwikiers,
I need your help to solve a livetable issue for my business unit wiki.
I have a Livetable displaying elements of a Class "Demandes", but only a
part of them are not visible to some users without admin or programming
rights.
Only demands from 2015 are shown despite as soon as I create a new one, it
is impossible to find it in the livetable. I checked the rights = no
restrictions, I checked the livetable Velocity code = no filters anywhere.
Is it possible that it is a trouble between database query and displaying in
the livetable ? Some kind of trouble in JSON results ?
Thank you for your help.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Livetable-and-rights-or-filter-issues-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The problem is, I am not even getting an error message when trying to
install. I simply cannot select to install on the extension manager.
See here:
http://imgur.com/a/FZtCr
I am using the war I got here:
http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.4.2.war
And I am at a loss to explain why this won't do at all. Especially since
installing pegdown manually did not seem to help, since pegdown has a
dependency on parboiled and that seems to have been ignored, or maybe I
did something wrong there.
Sorry for the missend, I am not used to working with mailing lists and
am not getting single replys back
How to startup XWiki-8.4.2 with Centos-7 and Tomcat-7?
I downloaded a .WAR version package of XWiki-8.4.2 under Centos-7.
And run it with Tomcat-7
The servlet always cannot be initialized:
Package versions:
tomcat-7.0.69-10.el7.noarch
java-1.8.0-openjdk-1.8.0.111-1.b15.el7_2.x86_64
The error message is below:
#] cat localhost.2016-12-13.log
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [action] in context with path [/xwiki] threw exception
javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.xpn.xwiki.web.XWikiRequestProcessor: java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:614)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1910)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 6:59:14 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 7:00:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
--
Kirby Zhou - 分机2557
Hi! I happily use comments to add somehow structured information to
documents. The most frequent case is to add new "tagged" attributes to
documents holding instances of the XWiki.XWikiUsers class. I'm sure there
must be better ways of doing that, but I've had no time yet to go deeper
into them, and I keep surviving that way.
What I'm not able to do is to select a set of documents not containing a
given string in any of the instances of XWiki.XWikiComments. Doing this...
select doc.fullName from Document as doc, doc.object(XWiki.XWikiComments)
as note where doc.parent like '%XWikiIDIS%' and length(doc.parent)=19 and
doc.parent not like '%Area%' and doc.parent not like '%Committee%' and
doc.parent not like '%Metagroup%' and doc.name not like '%Evidences%' and
doc.name not like '%OI' and doc.parent not like '%DirectionBoard%' and
doc.translation = 0 and note.comment not like '%IDIS Group Leader%' order
by doc.parent"
I get as many entries of each document as comments not containing '%IDIS
Group Leader%' are held by that document. But, please, how could I get one
entry for each document not containing that string in any of its comments?
Thanks for your help!
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
The problem is, I am not even getting an error message when trying to
install. I simply cannot select to install on the extension manager.
See here:
http://imgur.com/a/FZtCr
I am using the war I got here:
http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.4.2.war
And I am at a loss to explain why this won't do at all. Especially since
installing pegdown manually did not seem to help, since pegdown has a
dependency on parboiled and that seems to have been ignored, or maybe I
did something wrong there.
Hi Vincent,
I deduced (possibly wrongly) that from the fact that there's only a
Markdown Syntax 8.3 extension available, and the extension manager was
not able to install said extension at all.
When I downloaded it and placed the jar into WEB-INF/libs, the container
would not even start correctly, since it was missing the
org/xwiki/contrib/rendering/markdown10/internal/parser/AbstractMarkdownStreamParser
- after building and installing the 8.3 extension of markdown 1.1, there
was a missing pegdown dependency and so on.
And since github seems to have a 8.4-SNAPSHOT-Tag on the markdown
parser, I assumed that so far, 8.4 has no support for it.
Can you maybe tell me how to install it? Or is that because I already
set markdown/1.1 as possible renderer in xwiki.properties?
Hey,
I tried to google a solution but I did not found anything. Maybe somebody here can help me :-)
I observed the following behaviour on my XWiki (v 7.1.1): Using the XWiki Syntax 2.1 for inserting images leads to a problem if I am using parameters. Let's say im using [[image:img.png||width="25px"]]. When I am saving the page the source code of the generated html is something like <img src="/xwiki/bin/download/Space/img.png?width=25" width="25px" alt="img.png">.
After a refresh of the page the source code gets <img src="/xwiki/bin/download/Space/img.png?width=25&width=25" width="25px" alt="img.png">. After another refresh the source code gets <img src="/xwiki/bin/download/Space/img.png?width=25&width=25&width=25" width="25px" alt="img.png">. And so on and so on .....
After a lot of refreshes the src path is too long for my server (restricted to 1024 chars) and the image is not shown anymore.
When I edit the page and save it the path gets "normal" again.
Am I using the syntax wrong or is it (I guess that is the problem) a XWiki problem? I guess the path resolving has a bug but maybe somebody can help me without updating the XWiki?
Thanks in advance,
Patrick
Hello,
since there is so far no official support for parsing and rendering
markdown 1.1 in XWiki Enterprise 8.4, and so far we failed to plug in an
older version of it into the 8.4 infrastructure, I'd like to know if
there is any way to test if the parser is compatible with our markdown
docs, and if it is likely that said parser and renderer will be
available when 7.4 hits end of life (or maybe even earlier)