Xwiki to gitlab

Hi all,
let me describe our use case…
We collaborate with a group having a xwiki instance to write down their documentation.
As a collaborator, we cannot access this xwiki instance. We are looking for a way to easily export the documenation.
We found extensions to export to gitlab or github.

The question is : are the xwiki pages well rendered in gitlab/github or only the source code of the xwiki pages is displayed?

Thank you for your help


XWiki pages are exported in XML (see https://extensions.xwiki.org/xwiki/bin/view/Extension/XAR%20Module%20Specifications#HFormatforDocumentXML for the format) and this is what is stored in git.


Hope it helps

Instead of exporting wiki pages, if it’s just an account issue you could configure your XWiki instance to use gitlab as OpenId Connect provider so that the gitlab users can access the wiki maybe. See https://extensions.xwiki.org/xwiki/bin/view/Extension/OpenID%20Connect/OpenID%20Connect%20Authenticator/.

If you are talking about https://extensions.xwiki.org/xwiki/bin/view/Extension/gitlab%20Application/ this extension is not meant to convert XWiki pages as gitlabl wiki pages, it just store the source as regular XML files as @vmassol described. Looks like https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-sandbox/src/main/resources/Sandbox/WebHome.xml.

thank you for your answers…
so the export to gitlab is not usable, and the problem is that we cannot access the xwiki (intranet of our collaborator)…
it seems we have to export the xwiki pages as pdf…
do you have a better idea?

Thank you