Re: [xwiki-users] [l10n] issue posting translation to XWiki site
Understood. One more thing I wanted to know. Is there a way for me to 1. Download ONLY non-localized messages (empty ones) in the *.properties format 2. Translate part of them 3. Upload that translated part back into l10n application 4. Instantly see my changes as a list of "to be reviewed" items 5. If there were conflicts during upload (e.g. some uploaded translation message already existed) the review row is highlighted showing all available translation versions. (If not, sounds like a nice-to-have for l10n application) -- View this message in context: http://xwiki.475771.n2.nabble.com/l10n-issue-posting-translation-to-XWiki-site-tp5163871p5176319.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki/1.0 and XWiki/2.0 escaping
Marius Dumitru Florea writes: > > http://platform.xwiki.org/xwiki/bin/view/Main/ > > XWikiSyntax#HEscapes ;) > > This doesn't fix your problem. What about > > http://platform.xwiki.org/xwiki/bin/download/DevGuide/ > API/xwiki-core-2.3.1-javadoc.jar/com/xpn/xwiki/ > api/Util.html#escapeText%28java.lang.String%29 > ? > > > > > Hope this helps, Yes, it was helpful. However, I can see no XWiki/2.0 escaping. Here: http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/ index-all.html ... I have found XWiki/1.0 escaping and Radeox escaping, but no XWiki/2.0 escaping. > escapeText(String) - Method in class com.xpn.xwiki.api.Util > Protect Text from Wiki transformation. > escapeText(String) - Static method in class > com.xpn.xwiki.util.Util API to protect Text from > Radeox transformation -- If you want to get to the top, you have to start at the bottom ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] How about extending EscapeTool to add XWiki 1.0 and 2.0 escaping? Re: XWiki/1.0 and XWiki/2.0 escaping
Good idea. These methods should have been there from the very beginning IMO. Alex On 06/13/2010 11:51 AM, Caleb James DeLisle wrote: > Right now $escapetool is included via velocity configuration. > I don't see any reason why we couldn't change to a VelocityContextInitializer > which adds an extension of escapetool which has: > $escapetool.xwiki1(String) > $escapetool.xwiki2(String) > > Although it would be cleaner I'm resistant to: > $escapetool.xwiki.syntax20(String) > or the like because vulnerability is easier than security so we should > make security as easy (to type) as possible. > > I'm not sure when I'll have time to do this but I don't think it'd take more > than a few hours. > > WDYT? > > Caleb > > Marius Dumitru Florea wrote: >> On 06/13/2010 11:43 AM, Marius Dumitru Florea wrote: >>> On 06/12/2010 04:26 PM, Ivan Levashew wrote: Hello! Yet another problem I'm encountering is lack of proper escaping tools. I have noticed it when I decided to use [ and ] in page titles. «My Recent Modifications» became broken because XWiki parsed [ and ]. Currently I have added {pre} and {/pre} at both ends, but it is just a krunch. What is the proper way? I have checked $escapetool and $xwiki.get*Encoded APIs. There is no common API to escape [, ], =, {, etc. >> >>> You haven't checked >>> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HEscapes ;) >> >> This doesn't fix your problem. What about >> http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-2.3.1-javadoc.jar/com/xpn/xwiki/api/Util.html#escapeText%28java.lang.String%29 >> >> ? >> >>> Hope this helps, >>> Marius >>> ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > > ___ > devs mailing list > d...@xwiki.org > http://lists.xwiki.org/mailman/listinfo/devs ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [Proposal] How about extending EscapeTool to add XWiki 1.0 and 2.0 escaping? Re: XWiki/1.0 and XWiki/2.0 escaping
Right now $escapetool is included via velocity configuration. I don't see any reason why we couldn't change to a VelocityContextInitializer which adds an extension of escapetool which has: $escapetool.xwiki1(String) $escapetool.xwiki2(String) Although it would be cleaner I'm resistant to: $escapetool.xwiki.syntax20(String) or the like because vulnerability is easier than security so we should make security as easy (to type) as possible. I'm not sure when I'll have time to do this but I don't think it'd take more than a few hours. WDYT? Caleb Marius Dumitru Florea wrote: > On 06/13/2010 11:43 AM, Marius Dumitru Florea wrote: >> On 06/12/2010 04:26 PM, Ivan Levashew wrote: >>> Hello! >>> >>> Yet another problem I'm encountering is lack of >>> proper escaping tools. I have noticed it when I >>> decided to use [ and ] in page titles. >>> «My Recent Modifications» became broken because >>> XWiki parsed [ and ]. Currently I have added >>> {pre} and {/pre} at both ends, but it is just a >>> krunch. What is the proper way? I have checked >>> $escapetool and $xwiki.get*Encoded APIs. There is >>> no common API to escape [, ], =, {, etc. > >> You haven't checked >> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HEscapes ;) > > This doesn't fix your problem. What about > http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-2.3.1-javadoc.jar/com/xpn/xwiki/api/Util.html#escapeText%28java.lang.String%29 > > ? > >> Hope this helps, >> Marius >> >>> >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki/1.0 and XWiki/2.0 escaping
On 06/13/2010 11:43 AM, Marius Dumitru Florea wrote: > On 06/12/2010 04:26 PM, Ivan Levashew wrote: >> Hello! >> >> Yet another problem I'm encountering is lack of >> proper escaping tools. I have noticed it when I >> decided to use [ and ] in page titles. >> «My Recent Modifications» became broken because >> XWiki parsed [ and ]. Currently I have added >> {pre} and {/pre} at both ends, but it is just a >> krunch. What is the proper way? I have checked >> $escapetool and $xwiki.get*Encoded APIs. There is >> no common API to escape [, ], =, {, etc. > > You haven't checked > http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HEscapes ;) This doesn't fix your problem. What about http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-2.3.1-javadoc.jar/com/xpn/xwiki/api/Util.html#escapeText%28java.lang.String%29 ? > > Hope this helps, > Marius > >> >> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] The new GWT-based WYSIWYG editor doesn't support the syntax
Hi Lee, On 06/12/2010 09:51 PM, Lee Chalupa wrote: > > Hello. The plugin is in the config file. Here is a list of my plugins. > > xwiki.plugins=\ > com.xpn.xwiki.monitor.api.MonitorPlugin,\ > com.xpn.xwiki.plugin.calendar.CalendarPlugin,\ > com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\ > com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\ > com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\ > com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\ > com.xpn.xwiki.plugin.feed.FeedPlugin,\ > com.xpn.xwiki.plugin.ldap.LDAPPlugin,\ > com.xpn.xwiki.plugin.google.GooglePlugin,\ > com.xpn.xwiki.plugin.flickr.FlickrPlugin,\ > com.xpn.xwiki.plugin.mail.MailPlugin,\ > com.xpn.xwiki.plugin.packaging.PackagePlugin,\ > com.xpn.xwiki.plugin.query.QueryPlugin,\ > com.xpn.xwiki.plugin.svg.SVGPlugin,\ > com.xpn.xwiki.plugin.charts.ChartingPlugin,\ > com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\ > com.xpn.xwiki.plugin.image.ImagePlugin,\ > com.xpn.xwiki.plugin.captcha.CaptchaPlugin,\ > com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\ > > com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\ > com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\ > com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\ > com.xpn.xwiki.plugin.lucene.LucenePlugin,\ > com.xpn.xwiki.plugin.diff.DiffPlugin,\ > com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\ > com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\ > com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\ > com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\ > > com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \ > com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \ > com.xpn.xwiki.wysiwyg.server.plugin.WysiwygPlugin, \ > com.xpn.xwiki.plugin.tag.TagPlugin > > > What else might it be? Can you edit a new page in Wiki mode and set the content to: -8<- {{velocity}} $xwiki.wysiwyg $xwiki.wysiwyg.isSyntaxSupported("xwiki/2.0") {{/velocity}} ->8- (making sure the syntax displayed in the Document Information panel is "XWiki 2.0"). Save and view. The result should be similar to: -8<- com.xpn.xwiki.wysiwyg.server.plugin.wysiwygplugin...@563e25fd true ->8- What do you get? Hope this helps, Marius > > Thanks > > Lee ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki/1.0 and XWiki/2.0 escaping
On 06/12/2010 04:26 PM, Ivan Levashew wrote: > Hello! > > Yet another problem I'm encountering is lack of > proper escaping tools. I have noticed it when I > decided to use [ and ] in page titles. > «My Recent Modifications» became broken because > XWiki parsed [ and ]. Currently I have added > {pre} and {/pre} at both ends, but it is just a > krunch. What is the proper way? I have checked > $escapetool and $xwiki.get*Encoded APIs. There is > no common API to escape [, ], =, {, etc. You haven't checked http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HEscapes ;) Hope this helps, Marius > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Post-upgrade issue
Asiri Rathnayake writes: > > Hi Ivan, > > It looks like skin extension plugins are not loaded in your XE. You can try: > > {{velocity}} > $xwiki.ssx > {{/velocity}} > > And see if it outputs the plugin API object. > No, it doesn't. > > #-# List of active plugins. > xwiki.plugins=\ > com.xpn.xwiki.monitor.api.MonitorPlugin,\ > com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\ > com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\ > com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\ > com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\ > . > There are no skinx entries. > If you are sure that your xwiki.cfg is correct, you should see some > exception traces when you start XE. These exceptions will complain that some > plugins are missing or was not loaded due to errors. > > If you can try the above and post the tomcat logs for missing / errornous > plugins, may be we can help. > Thank you very much. My mistake is that I have deployed xwiki-web-2.4-milestone-1\standard\target\ xwiki-web-standard-2.4-milestone-1.war instead of xwiki-enterprise-2.4-milestone-1\web\target\ xwiki-enterprise-web-2.4-milestone-1.war When I was compiling 2.3, there was just 1 .war. -- If you want to get to the top, you have to start at the bottom ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users