Is there any conversion script to convert from one style of wiki syntax to
another?
I'm currently running a media wiki engine and would like to move all the content
to Xwiki, unfortunately the wiki syntax is quite different, any help in this
would be highly appreciated.
Thanks,
- Mark
Hi.
I'd like to reorganize my knowledge base by moving some documents
between spaces. I've tried to do it mysql query updating:
xwikidoc: xwd_fullname,xwd_web,xwd_parent
xwikistatsdoc: xws_name
xwikiattachment:xwa_doc_id
but it seems it's not enough. Is it too complicated, or it will be ok if
I modify two or three additional tables? If it is possible - what tables
should I update too?
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi.
Is anybody able to write/read any non-latin1 documents in xwiki?
I'm trying with XWiki Version 0.9.793 and a new default database. I'v
changed default values to UTF-8 in:
WEB-INF/xwiki.cfg: xwiki.encoding
WEB-INF/web.xml: init param 'encoding' in 'Set Character Encoding'
filter
XWiki.Preferences -> Presentation: http-equiv meta header
Tomcat 4.1.30 is using JDK 1.4.2, running in locale en_US.
The behaviour is as follows:
1. I'm creating a new document, entering some non-latin1 chars.
2. I can preview, save and edit this document - all works fine
3. I'm restarting tomcat serving xwiki
4. I cannot display the created document - an exception occurs:
$msg.get("problemoccured")
$msg.get("detailedinformation"):
Error number 3202 in 3: Exception while reading document Sandbox.TestTopic1
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document Sandbox.TestTopic1
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:638)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
[...]
Wrapped Exception:
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
at org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
at org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2900)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
[...]
Caused by: net.sf.cglib.beans.BulkBeanException: Lexical error at line 36, column 10. Encountered: "\u0142" (322), after : "@\n\n\nSandbox\nTestTopic1\n\nen\n0\nSandbox.WebHome\nXWiki.Admin\n1120562792127\n1120562808542\n1.2\n"
at com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyValues()
at org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:200)
... 63 more
Caused by: org.apache.commons.jrcs.rcs.TokenMgrError: Lexical error at line 36, column 10. Encountered: "\u0142" (322), after : "@\n\n\nSandbox\nTestTopic1\n\nen\n0\nSandbox.WebHome\nXWiki.Admin\n1120562792127\n1120562808542\n1.2\n"
at org.apache.commons.jrcs.rcs.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:800)
at org.apache.commons.jrcs.rcs.ArchiveParser.jj_consume_token(ArchiveParser.java:558)
at org.apache.commons.jrcs.rcs.ArchiveParser.text(ArchiveParser.java:429)
at org.apache.commons.jrcs.rcs.ArchiveParser.archive(ArchiveParser.java:102)
at org.apache.commons.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:55)
at org.apache.commons.jrcs.rcs.Archive.(Archive.java:230)
at com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:475)
... 65 more
When I was using previous version of xwiki (probably with different settings)
all non-latin1 characters were converted into html-entities; If I copy-paste
such a document into this new installation - it looks like it should look, but
newly entered characters appear in database as proper utf-8 characters (which in
my opinion is fine - database is set to utf-8), and probably cannot be properly
read by rendering module.
Does anybody have an idea if I can reconfigure something to make it work?
TIA,
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi all
I have the following error when creating a blog message with xwiki
using UTF-8 encoding:
Error: document.forms.edit['XWiki.ArticleClass_0_title'] has no properties
Source File: http://cwinxwikiutf8:8080/xwiki/bin/inline/Main/PageName?parent=Main.WebHom…
Line: 107
I have search the mailing list and found a similar report on Thu, 14
Apr 2005 by Mathieu Peltier:
>btw, when I use the default form in the left menu to add a new in the blob, I
>get no form where to fill the news but only the field names (Title, Category,
>...) with the following javascript error:
>
>Inline script thread
>Error:
>name: TypeError
>message: Statement on line 4: Expression evaluated to null or undefined and
>is not convertible to Object:
>document.forms.edit["XWiki.ArticleClass_0_title"]
>Backtrace:
> Line 4 of inline#1 script in
>http://localhost:8080/xwiki/bin/inline/Main/PageName?parent=Main.WebHome&te…
> document.forms.edit["XWiki.ArticleClass_0_title"].value = title;
Does anybody has any clue on this?
Thanks.
Patrick Lee
Hi,
I miss information for fixed and fixed bold in xwiki syntax. After I checked the source code I tried =fixed= and ==fixedbold== but it wasn't rendered. Is this a bug or a missing feature?
Hi.
Since there is no interface for adding languages - I have a question
about creating non-english wikis. Should I enter documents leaving their
language as 'en' (and leaving language setting in XWiki.Preferences), or
better change preferences to my language and append 'language=pl' to
newly created documents? I would like to avoid problems with future
upgrades and possible translations.
And another one question: is there a howto about creating translations
of xwiki itself? I would like to create an polish version. I see, that
there is htmlarea/lang/pl.js file, but it contains only few phrases. I
will share my translation, of course.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi All,
What's the correct way to comment in the wiki docs to avoid all processing?
I couldnt see it in the Wiki syntax.
Both of these dont seem to work correctly <!-- -->, /* */ ?
Thanks.
Duke