Migrating from MediaWiki to XWiki

Moving from MediaWiki to XWiki is a project in content structure, permissions and login, not a file copy. This page covers what maps cleanly, what needs rebuilding, and where the effort goes.

On this page

Migrating from MediaWiki to XWiki: what the move involves

The effort to move internal documentation from MediaWiki to XWiki depends on four things: the extensions, templates and permissions your wiki relies on, how users log in, and how much content you have. No supplied fact gives a migration duration or price, so the estimate has to come from an inventory of those areas in your own wiki. Both engines are open source, MediaWiki under GPL-2.0-or-later and XWiki under LGPL-2.1-or-later, so the license alone is rarely a good reason to move. The case has to rest on structured pages and finer rights that your team will actually use.

Start with an inventory. List every extension your wiki loads, every template and parser function your pages depend on, and every group and namespace protection, then decide for each item whether XWiki has a native feature, a community extension, or nothing that matches. Login deserves an early decision. PluggableAuth covers OpenID Connect, SAML through SimpleSAMLphp, LDAP and REMOTE_USER, so first check which of those your directory already uses. On the XWiki side, the xwiki-contrib OpenID Connect extension is the path to confirm with your identity team, including its version compatibility and who supports it. Map MediaWiki groups onto XWiki rights at wiki, page or hierarchy level in a written table, and have a second reviewer test it, because a wrong mapping shows the wrong content to the wrong people.

Check your MediaWiki version before you plan anything else. The MediaWiki 1.44 release became obsolete on July 31, 2026, and 1.45 reaches end of life in December 2026, so an upgrade may be forced on you regardless of the XWiki decision. Choose the XWiki release line deliberately: the stable line (18.8.0) or the LTS line (17.10.14), and confirm which one your support expectations require. Ask XWiki SAS or your implementation partner whether they offer a MediaWiki import path. The supplied facts cover a Confluence migrator but not a MediaWiki one, so treat any import tool as unverified until you test it on a copy of your largest namespace. Compare page counts, revision histories and attachments after the pilot run, and keep the old wiki readable for a defined period after cutover.

Why teams leave MediaWiki for XWiki

Licence questions usually come down to whether you can run, change and extend the wiki without buying a commercial tier. Both platforms are open source, but their terms and paid layers differ in ways that affect extensions and support.

  • MediaWiki under GPL-2.0-or-later: Extensions that use MediaWiki functions must be under the same or a compatible license, so review every third-party extension before you rely on it. The COPYING file sets out the terms.
  • XWiki under LGPL 2.1: The core platform and its official Docker images are LGPL 2.1, which keeps the open-source core free to run and change. This matters most if you plan to modify the code.
  • XWiki Standard and XWiki Pro: XWiki Standard is free and open source, while XWiki Pro combines XWiki with business applications, connectors and XWiki SAS support. This layer matters only if you want vendor-supplied apps or a support contract.
  • Services pricing: XWiki SAS lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan, and training at 1500 EUR per day (xwiki.com pricing). Ask for a written quote, since list rates may not match your scope.
  • Extension parity: Your MediaWiki extensions do not map one for one to XWiki, so list each one and confirm its replacement, if any, before you commit.

Confirm which XWiki components your edition includes and get the licence terms of each extension in writing before you budget.

What maps cleanly from MediaWiki to XWiki and what does not

This table compares common MediaWiki capabilities with their closest XWiki equivalents and marks each row as a direct mapping, a partial mapping or a rebuild. Read the mapping column first, then the notes, which name the work that remains after an import. Confirm every conversion behaviour in the XWiki documentation and a pilot import before you commit to a cutover plan.

Source capabilityMappingXWiki equivalentMigration notes
Page content and wiki markupPartial mappingWiki pages in XWiki's own syntax, edited with its editorsExpect markup differences to need review. Check rendering of a sample of pages in the pilot.
Page historyPartial mappingPage changes kept under version controlXWiki keeps page changes under version control. Confirm whether imported revisions keep original authors and timestamps.
Namespaces and categoriesPartial mappingPage hierarchy of spaces and nested pages, plus tags or structured data classesNamespaces usually map to spaces, but categories need a design decision: tags, a data class or both. Confirm with the pilot.
Templates and parser functionsRebuild requiredXWiki macros, scripts and page templatesExpect to rewrite template logic and parser functions by hand. List each one in the content audit before planning the work.
ExtensionsRebuild requiredXWiki extensions, including free Standard and paid Pro applicationsEach MediaWiki extension needs an XWiki equivalent or a decision to drop it. Check license and support status for each chosen extension.
Users, groups and permissionsPartial mappingUsers, groups and rights set at wiki, space or page levelMap MediaWiki groups and rights to XWiki levels on paper first. Check inherited access on sample pages in the pilot.
AttachmentsPartial mappingFiles attached to wiki pagesConfirm that binary files, sizes and file versions import as expected. Check large files early in the pilot.
Login through PluggableAuthRebuild requiredOpenID Connect extension, plus Pro Active Directory SSO appsMap each PluggableAuth method you use to an XWiki option. Confirm SAML and LDAP support against your identity provider.
Search and skinsRebuild requiredXWiki search and its own skins and stylingSkins and custom styling need rebuilding. Confirm search indexing and result quality on imported content during the pilot.

How MediaWiki PluggableAuth logins carry over to XWiki

The fastest way to carry MediaWiki logins over is to map each PluggableAuth plugin your wiki uses to an XWiki component before anything is installed. MediaWiki teams most often run the PluggableAuth framework with OpenID Connect, SAML through SimpleSAMLphp, LDAP through LDAPAuthentication2, OAuth or REMOTE_USER. On the XWiki side, the xwiki-contrib OpenID Connect extension is the documented path for OIDC. It can authenticate XWiki users against an external OIDC provider, and it can also make XWiki an OIDC provider for other applications. Write down which plugin each MediaWiki login path uses today, which identity provider it points at, and which other applications depend on that provider.

Do not assume SAML or LDAP work the same way on XWiki. Confirm with XWiki SAS whether SAML and LDAP authentication are available in the edition you plan to buy, and whether they come from the open-source distribution or from a paid application. The same check applies to the Active Directory and Azure Active Directory SSO applications listed for XWiki Pro: confirm which Pro tier includes them and whether they match your directory layout. If your MediaWiki site uses LDAP groups to control access to spaces or pages, test that mapping in a staging instance first, because XWiki sets view, comment, edit and delete rights at the wiki, page or hierarchy level and the group source must be verified before cutover.

Account data is where login migrations most often break. MediaWiki stores local accounts with its own user IDs, group memberships and password hashes, and external logins must be matched to those accounts. Before you plan accounts, confirm with the vendor how XWiki maps external identifiers to user accounts, whether existing MediaWiki usernames can be kept, how group membership is imported or refreshed from the identity provider, and whether MediaWiki password hashes can be carried over at all. If hashes cannot be imported, users who only have local passwords will need a reset path. Ask for a test migration covering a sample of users, including one administrator and at least one user from each group, and check their logins and page rights before the production cutover.

Which documented import paths exist for a MediaWiki move

Each card covers a route teams often assume will carry a MediaWiki move into XWiki, and each has a different level of confirmation. Only the Confluence tooling and the Confluence migration services are documented, so the rest works as a checklist for your XWiki contact before you commit to a scope.

Confirm a MediaWiki importer first

No MediaWiki importer for XWiki is confirmed. Ask XWiki in writing whether it supports a MediaWiki import, which XWiki and MediaWiki versions it covers, and whether it carries page revisions, users, permissions and uploaded files. Get that answer before your team estimates effort, because the rest of the plan depends on which route exists. If no supported route is confirmed, the move becomes a custom export and load project, and its scope, testing and cutover work change accordingly.

MediaWiki export and API

MediaWiki's page export and action API may let you pull page text, history and files out of the source wiki, so treat them as a starting point to test, not a confirmed path. Run a small sample through your intended XWiki target and check how titles, namespaces, templates and revision timestamps arrive. Record the MediaWiki release you export from, because it determines the export behavior you test. Confirm with XWiki that its loading method accepts that output before you build on it.

MediaWiki version lifecycle

Confluence Migrator Pro

This extension is built for Confluence, not MediaWiki. It moves Confluence spaces, pages, users, groups, permissions, attachments and metadata into XWiki, and it keeps page history but not attachment history. Read its scope as a checklist of the object types a serious XWiki migrator should cover, then ask whether equivalent MediaWiki handling exists. Check its trial limits and its starting price on the store page before you plan around it.

Confluence Migrator Pro listing

XWiki SAS migration services

XWiki SAS offers migration services for Confluence, and that offer is the one to confirm for a MediaWiki move. Ask the vendor directly whether its services cover MediaWiki, which source formats it accepts, and how it handles revision history and uploaded files. Request the scope, deliverables and pricing basis in writing so you can compare it fairly with an in-house or implementation partner plan.

XWiki SAS site

Check history and attachments early

History and attachments are the usual gaps. Whatever route you pick, confirm in writing whether page revisions, authors and timestamps transfer, and whether uploaded files keep their own history. The Confluence tooling keeps page history but not attachment history, which is a useful warning for what to test on a MediaWiki move. Write these checks into the acceptance criteria so a gap is found before cutover, not after users depend on the wiki.

Content, identity and cutover meet at the staging XWiki

The diagram starts at the source MediaWiki instance, whose database and uploaded files feed an export and transformation step. That step is where the import route into XWiki still needs confirming, so check it against your MediaWiki and XWiki versions before you commit to a plan. Output lands in a staging XWiki on the Docker image variant you choose, which runs on Tomcat. Users sign in through the PluggableAuth identity source, connected to XWiki through the OIDC integration, so test login and group mapping early. A pilot space proves the content, then both wikis stay live in a parallel run. The cutover point redirects users to XWiki and leaves MediaWiki archived.

Staging XWiki and cutover path; the import step is still to confirm.

How to sequence a MediaWiki to XWiki migration with a parallel run

The sequence moves a MediaWiki wiki to XWiki in five stages, so each stage proves one thing before the next begins. A parallel run keeps both wikis available while content is checked, and a written edit rule prevents two copies of the same page from drifting apart. Each step ends with the record you should hold before moving on.

  1. Inventory the MediaWiki estate

    Produce a full list of spaces and namespaces with page counts, then record revision depth, installed extensions, custom templates, user accounts, groups and permissions, login method, and inbound links from other systems. Wiki administrators run the queries, and content owners confirm which spaces are still in use, since stale content inflates scope. The step is done when every item has a named owner and a recorded count. Keep this inventory in writing, because each later step measures against it.

  2. Choose source and target versions

    Pin the MediaWiki release you will export from and the XWiki line you will install. On the MediaWiki side, 1.43 is the LTS release supported until December 2027, while 1.46 is the current stable release with end of life in July 2027. On the XWiki side, the options are 18.8.0 (stable), 18.4.7 (intermediate LTS) or 17.10.14 (LTS). Confirm that the line you choose supports the extensions and login integration you need, and that your database choice among the MySQL, PostgreSQL and MariaDB image variants fits your platform. The step is done when the versions, their support end dates and the upgrade path are signed off, with the XWiki support window confirmed.

  3. Pilot one space with fidelity checks

    Migrate one representative space end to end into a non-production XWiki, choosing a space with templates, attachments, several editors and inbound links. Compare page count, revision history, attachments, internal links, categories, templates and rendered output against the source, and confirm that each MediaWiki account maps to an XWiki user with the intended rights. Ask whoever runs the conversion to confirm in writing which MediaWiki markup and extensions the method converts and which need manual rework. The pilot is done when the fidelity log shows no open content loss and the content owner signs off the rendered pages.

  4. Run both wikis under one edit rule

    Keep MediaWiki and XWiki live together for the spaces in scope, and write down which system accepts edits for each space during the overlap. One option is to keep MediaWiki as the only writable source and sync changes into XWiki on a set schedule, with XWiki read-only for those spaces. Another is to open a space for editing in XWiki only after its owner signs off on the pilot results. Log every sync run with its source revision and any conflicts. The run is working when the sync log reconciles with the inventory counts and no edit lands in a system the rule does not name.

  5. Cut over and decommission MediaWiki

    Freeze edits in MediaWiki, run a last delta sync, and move sign-in, bookmarks and inbound links to XWiki. Test login for pilot users through your identity provider, and record the XWiki side of the configuration in writing, whether it uses the xwiki-contrib OIDC extension or another method you have verified. Compare final counts against the inventory, keep a read-only export of MediaWiki and its database for your records retention period, and prove that the export restores before the server is switched off. The step is done when the cutover record is signed, redirects are tested and the decommission date is approved by the content owner.

What drives MediaWiki to XWiki migration effort

This table lists the factors that most change the effort of moving from MediaWiki to XWiki, why each one matters and what to request in a quote. Read each row against your own wiki, since extension count, login setup and inbound integrations are often the least visible work. The main takeaway is that a fixed-scope quote should rest on inventories of these items, with page count as only one input.

DriverWhy it changes the effortWhat to ask for in a quote
Extension and template countEach extension and template with logic must be mapped to an XWiki feature, app or macro, or rebuilt.Inventory of every extension and template, its job, its XWiki equivalent and the apps it needs.
Page count and history depthVolume sets import and validation time. Revision history and attachment history may not carry over the same way.Confirm whether revisions are imported, how attachments are handled and the page count in scope.
Permission model complexityEach MediaWiki group and protection rule must be mapped to XWiki rights at wiki, page or hierarchy level.Export of groups, memberships and page restrictions, plus a sample of pages to test each rule after import.
Login integrationSign-in often runs through PluggableAuth for OpenID Connect, SAML, LDAP or REMOTE_USER. XWiki needs a matching option for each.Name the protocol and provider, confirm the XWiki option supports your version and who tests logout and group sync.
Content needing rewriteWikitext and templates do not map one-to-one to XWiki's structured pages, so data-bearing pages need restructuring.Share of pages by type: plain text, templated and data-bearing, with the team that rewrites each group.
Inbound integrationsBots, API clients, scheduled scripts and links from other systems point at MediaWiki URLs and API endpoints.Inventory of every caller, the endpoints it uses, the repointing owner and a redirect plan for old URLs.
XWiki Standard or Pro appsXWiki Standard is free and open source. Pro adds business apps and connectors under a paid subscription, which changes licensing and recurring cost.Quote split into Standard and Pro scope, with the user tier. XWiki lists Basic up to 1,000 users and Business up to 10,000 (xwiki.com pricing).
Services scopeXWiki SAS lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan (xwiki.com pricing).Days by task (mapping, import, testing, cutover), and whether consulting needs a support plan on top.
Hosting modelSelf-hosting keeps upgrades, backups and patching with your team. XWiki Cloud moves hosting to XWiki SAS.Who runs upgrades, backups and monitoring, what custom extensions the cloud accepts, and the upgrade calendar.

What usually goes wrong in a MediaWiki to XWiki cutover

Most problems in a MediaWiki to XWiki move come from a few decisions made early and checked late. The six risks below tend to surface after go-live, when links, history and access rules are already in use. Each card names a prevention step you can add to the migration plan before the first export runs.

Broken internal links and bookmarks

MediaWiki page titles, namespaces and URL paths rarely survive a move unchanged, so internal links, bookmarks and links from other documents can point at pages that no longer resolve. Readers notice this first in onboarding guides and runbooks that people open from memory. Build a redirect map before cutover: list each old URL pattern, map it to its XWiki page reference, and test a sample from every space, including links inside templates. Ask the owners of external bookmarks and links from other tools which URLs they hold, because you cannot update those on their behalf.

Lost history or page attribution

An import that copies only the current text of each page loses the edit history that auditors, page owners and editors use to see who changed a procedure and when. Attribution can break too: pages loaded under a service account show that account as the author of every revision. Test history and authorship on a sample of pages before the full run, and confirm that the original editors and timestamps appear in XWiki. Ask the migration provider in writing which attachment versions and revision metadata the import keeps, because tools differ on both.

Permissions rebuilt incorrectly

MediaWiki groups, namespace protections and page restrictions do not map one to one onto XWiki rights, so a manual rebuild can grant edit rights to readers or hide spaces from the teams that maintain them. XWiki sets view, comment, edit and delete rights at wiki, page or hierarchy level, so each space needs a decision before anything is imported. Write the rights matrix first: list each MediaWiki group and protected namespace, its XWiki target and the approver. Then test one account per role on a staging copy, and confirm that SSO group claims assign the same roles the old wiki did.

Extensions and templates without equivalents

Many MediaWiki sites depend on extensions and on templates written in wikitext or in Lua through Scribunto. Some of those features have no direct equivalent in XWiki, and a template that renders correctly in one engine can fail quietly in another. Inventory every extension, template and parser function that live pages call, then mark each one as replace, rebuild as an XWiki macro or retire. Ask the owner of each template to check the converted output on a sample page, because this rebuild work is often the hardest part of the plan to estimate.

Version choices on both sides

Running the move on an unsupported MediaWiki release leaves the source wiki without fixes during the project. The current stable release is 1.46, with end of life in July 2027, and 1.43 is the LTS release supported until December 2027. Choosing the XWiki line matters just as much: 18.8.0 is the stable line, 17.10.14 the LTS line and 18.4.7 the intermediate LTS, and each suits a different upgrade cadence. Upgrade the source to a supported MediaWiki release and choose the XWiki line in writing before the first build, with the date of each decision.

MediaWiki version lifecycle

Double editing during the parallel run

A parallel run is the period when both wikis accept edits, and the same procedure can end up with two diverging versions. Staff who keep the old bookmark keep editing it, and a sync between the two sides is rarely complete. Set a write freeze date for each space, announce it, and make the old wiki read-only in the same window as the final import. Ask content owners which edits made after the last sync they will re-enter by hand, and keep a dated list of those changes so nothing written during the run is lost.

Questions buyers ask before a MediaWiki to XWiki migration

What does a MediaWiki to XWiki migration cost, and what drives it?

The migration cost has three areas, and each goes to a different party. XWiki Standard is free open source under LGPL 2.1, so the platform carries no license fee. Infrastructure is recurring and runs in your own cloud account or data center. The migration work is one-time and is paid to whoever performs it: your staff, an implementation partner, or XWiki SAS. XWiki SAS lists consulting at 1200 EUR per day for customers on a Business or Enterprise support plan. If you need XWiki Pro apps or support, those subscriptions are recurring and priced by user tier. DeployOpen does not publish a price list; its quote follows from the written scope. Ask for a quote that states page and attachment counts, user numbers, extensions, and how many test imports are included.

How long does a MediaWiki to XWiki migration take?

Duration depends on content volume, how much structure you want in XWiki, and how many integrations and login flows must be rebuilt, so no single figure fits every wiki. The main drivers are the number of spaces and pages to map, the volume of attachments and templates, the identity design, and how many test imports and fix cycles the team needs before cutover. Internal approvals and change windows add time as well. Plan in phases: inventory, mapping rules, a pilot space, a full test import, a rehearsed cutover, and a period in which MediaWiki stays readable. Ask any implementer to state the duration of each phase, the assumptions behind it, and the dependencies that would move the date.

What does our internal team need to provide?

Your team supplies the knowledge that only your organization holds. Name a content owner for each major area who can decide what to keep, archive or merge, and an administrator who can provide database access and an export of the MediaWiki content. Someone must also own identity, because MediaWiki logins built with PluggableAuth (for example OpenID Connect, SAML or LDAP) have to be recreated for XWiki. XWiki can authenticate users against an external OpenID Connect provider through the xwiki-contrib OpenID Connect extension, which you should confirm for your version. Operations staff should confirm where XWiki will run, who patches the Java and database layers, and who owns backup and restore. Their time is often a schedule constraint, so name them in the written scope before work starts.

Can our internal team run a MediaWiki to XWiki migration alone?

Yes, if your team already operates Tomcat-based Java services and your chosen database, and has someone who can own the project from start to finish. The official XWiki Docker images come in MySQL, PostgreSQL and MariaDB variants, each running on Tomcat, which gives a documented starting point. Official XWiki Docker image documentation lists the variants. The work most likely to need outside review is the mapping: deciding how MediaWiki templates, categories and namespaces become XWiki spaces, pages and rights, followed by a test import and a cutover rehearsal. If those skills are missing, a fixed-scope implementation partner can cover the gap while your team keeps ownership of content decisions. Ask any partner which parts it performs and which it leaves to you.

Is there a documented MediaWiki importer for XWiki?

Confirm this before you plan around one. Ask XWiki SAS whether an official MediaWiki importer exists, which MediaWiki versions it reads, and whether it converts templates, namespaces, categories, uploaded files and user accounts. Check the XWiki documentation for the exact version you plan to run, because importer support is version specific. Ask for a test import of a representative space and review the result in XWiki before you commit to a date. If no maintained importer exists, the job becomes a custom conversion, which changes both the effort and the quote. Treat the answer as a scope item and write it into the agreement.

Does page history survive the move from MediaWiki to XWiki?

Check this with a test import before you rely on it. Page history is the first item to verify, because a tool may move the current revision, the full revision list, or only the content, and each result affects audit and review. XWiki markets version control for every page change, which is the platform capability, but the migration tool determines what arrives. For comparison, XWiki's Confluence Migrator Pro keeps page history but not attachment history, so the boundary is set by the specific tool. Ask for a sample page with its revision count, authors and timestamps compared against the source, and record the result before you approve cutover. Treat attachment history as a separate question.

Should we choose the stable or LTS XWiki line?

Choose the LTS line when platform stability matters more than the newest features, and choose stable when you need recent capabilities and can upgrade often. XWiki maintains a stable line, an intermediate LTS line and an LTS line in parallel. XWiki's official Docker image tags list 18.8.0 for stable, 18.4.7 for the intermediate LTS and 17.10.14 for LTS, so confirm the current tags before you decide. Check the support window for each branch in XWiki's release notes, because it sets how often you must upgrade. Ask your implementer which branch it will support, how upgrades are tested, and who performs them after handover.

What should we do with MediaWiki after cutover?

Keep MediaWiki online as a read-only archive only for a defined period, and confirm that its version remains supported while it runs. The lifecycle matters: MediaWiki 1.43 is the LTS release supported until December 2027, MediaWiki 1.46 is the current stable release with end of life in July 2027, and 1.45 is a legacy release with end of life in December 2026. An archive on an unsupported version becomes a security exposure. Decide whether it stays online for reference, is exported to static files, or is retired after a set date. Also plan redirects from old URLs and the retirement of API access and accounts. Ask your implementer to write this decision into the cutover runbook.

How DeployOpen scopes and runs a MediaWiki to XWiki migration

DeployOpen plans, implements, integrates, backs up and documents self-hosted open-source platforms inside your own infrastructure, so the XWiki target runs where your compliance and security teams can review it. A MediaWiki to XWiki move is scoped in writing before work starts, with page content, users, permissions and authentication each treated as a named workstream.

How we scope

  • The written scope lists which namespaces, pages, attachments and extensions move to XWiki.
  • Extensions are inventoried and each one is marked keep, replace, retire or rebuild, with the reason recorded.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • Build the XWiki target on the database variant your standards require, such as MySQL, PostgreSQL or MariaDB.
  • Plan the sign-in path for XWiki, for example the OpenID Connect extension, and confirm it against your identity provider.
  • Convert content in repeatable test runs, then compare page counts, revision histories and attachments against the source.

How we hand over

  • Documentation covers the build, the mapping decisions, permission rules and the rollback steps for the cutover.
  • A cutover runbook lists freeze, final sync, DNS or redirect changes and the go or no-go checks.
  • Records of what was migrated, what was retired and what needs manual follow-up are delivered at close.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Plan for XWiki's release branches, since stable, LTS and intermediate LTS lines are maintained in parallel.
  • Confirm in the written scope which source-side work continues after cutover, such as MediaWiki upgrades before the source is retired.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.