Migrating from MediaWiki to BookStack: what moves and what needs rework
The move from MediaWiki to BookStack is a content, identity and permissions project, and its effort is driven mainly by how much of the wiki depends on templates, extensions and custom namespaces. Page count matters less. A wiki of plain articles with little custom logic is usually a conversion and review exercise, while a wiki whose pages render through templates, parser functions and extension tags needs each of those behaviors rebuilt, replaced or dropped. BookStack organizes content as shelves, books, chapters and pages and does not reproduce MediaWiki's transclusion model, so confirm how each template-driven page should be rebuilt before estimating anything. No fixed duration can be given before a full inventory of pages, templates, extensions, namespaces and user groups is complete, so treat any timeline offered before that point as a guess. The sections that follow cover what maps cleanly, what needs rework and how to run the inventory.
Identity and permissions are where teams often underestimate the work. If your wiki signs users in through the PluggableAuth extension, list the plugin in use (OpenID Connect, SAML through SimpleSAMLphp, LDAP or REMOTE_USER) and confirm which of these BookStack can replace with its own OIDC, SAML2 or LDAP sign-in. MediaWiki grants rights through user groups and namespace settings, while BookStack assigns its role and permission system at shelf, book, chapter and page level. Each MediaWiki group therefore needs a decision about which BookStack role it becomes and where that role applies. Map groups before pages, check whether any restriction on a MediaWiki namespace has a matching control at the level you need, and ask your identity team how group claims reach the application so that roles can be assigned without manual steps for every user.
Content and history are the other half of the project. Page text, revision history and attachments are what most teams want to carry over, and MediaWiki's export tools are the usual starting point, but test in a copy how wikitext, internal links, categories and file references arrive in BookStack's page model. Record the MediaWiki version in production before planning, since MediaWiki 1.43 is the LTS release supported until December 2027 and 1.46 is the current stable release, and the version you run determines whether an upgrade is needed before export. Pilot one shelf, compare rendered pages against the originals and log every template, extension tag and namespace that needed a manual fix. That log is the basis for a quote, so ask any implementation partner to price the rework from it rather than from page count.
Why teams leave MediaWiki for BookStack, and when they should stay
MediaWiki 1.44 became obsolete on July 31, 2026, and 1.45 reaches end of life in December 2026. Teams on the 1.43 LTS line are supported until December 2027 and have a choice of timing: upgrade MediaWiki, or use the window to plan a move to BookStack. This reason applies when your install is on 1.44 or 1.45, or when you are on 1.43 and want the upgrade or migration decision made before the LTS window closes. Confirm current dates on the MediaWiki version lifecycle page.
- Installs on 1.44 or 1.45: The 1.45 support window closes in December 2026, so the next step needs a scheduled date now.
- Installs on 1.43 LTS: Support runs until December 2027, which leaves time to compare an upgrade with a migration on fit alone. This suits teams that can decide without a deadline forcing the choice.
- Upgrade path: MediaWiki supports upgrades from up to two LTS releases back, so an older install may still have a supported route to a current release. Confirm the exact route for your version before costing either option.
- Ownership: A MediaWiki upgrade and a migration both need an owner, test time and a rollback plan. Ask who owns each and what testing each one requires.
Check your installed version, confirm the lifecycle dates, and decide whether an upgrade or a migration fits before the support window for your release ends.
License is rarely the trigger. MediaWiki is licensed under the GNU General Public License version 2 or later, and BookStack is MIT licensed. Both allow an organization to run the software internally, so the license difference matters mainly when a copyleft policy, a distribution plan or a third-party dependency is involved. This reason applies when your legal team has a copyleft policy for internal tools, or when you plan to modify and distribute either platform.
- Internal use: Running MediaWiki inside your own infrastructure is the usual case. Confirm with counsel which obligations apply if you modify it and distribute the result.
- Kept extensions: If you keep MediaWiki running for a parallel period or for part of your content, every extension you keep must use the same or a compatible license. The MediaWiki COPYING file sets out this requirement.
- Third-party BookStack add-ons: The MIT license covers BookStack's core code. Check the license of each theme, plugin or script you add, because those terms are separate.
- Support terms: BookStack offers paid support plans and sponsorship, according to its website. A license does not set support terms, so request them in writing.
- Software inventory: Record the license of each platform and each component in your inventory so that later audits can trace it.
Have counsel confirm the license position for your distribution model, and list every extension and add-on with its license before cutover.
BookStack organizes content into books, chapters and pages grouped on shelves, with a WYSIWYG editor, an optional Markdown editor and built-in diagrams.net diagrams. That fixed hierarchy suits teams that want every document in a predictable place and editors who do not write wiki markup. MediaWiki works from a page model built on wiki markup, templates and extensions, so teams that depend on those should weigh staying. This reason applies when most of your content is handbooks, procedures and runbooks that follow a known outline.
- Fixed structure: Shelves, books and chapters give a navigation tree that editors can place content into without designing one first.
- Editing style: The WYSIWYG editor suits editors who never learned wiki syntax. Teams whose editors write wiki markup daily will need training and a style guide.
- Templates and extensions: If your pages depend on templates, parser functions or extensions, map each one to a BookStack feature or a manual replacement before deciding. Do not assume a match exists.
- Authentication and roles: BookStack supports OIDC, SAML2 and LDAP sign-in, multi-factor authentication that can be enforced per role, and a full role and permission system. Compare these with your current setup, including any PluggableAuth plugins you run.
- History and attachments: Confirm how existing revisions, attachments and page history carry over, since the migration method determines what survives.
List the templates, extensions and page types in use today, then test a representative sample of pages in BookStack before you decide.
Some teams leave MediaWiki because their documentation belongs inside a tool they already run. If the wiki mainly holds notes for projects, tickets or assets, the question is whether that tool's own wiki is good enough. Redmine, for example, includes per-project wikis and forums alongside multiple projects, role-based access and time tracking. This reason applies when the content is tied to that tool, or when sign-in is already centralized across your systems.
- Project-bound notes: Redmine's per-project wikis suit notes that stay with one project. Keeping that content in the tracker avoids a second system.
- Shared handbooks: Documentation used across several teams, such as policies or runbooks, usually suits a standalone wiki better than a project tool's wiki.
- Centralized sign-in: BookStack supports OIDC, SAML2 and LDAP sign-in, so it can sit under the identity provider your other tools already use.
- Second migration risk: If the other tool is later retired, its content needs another move. Confirm the support and upgrade plans for that tool before you consolidate into it.
- Feature gaps: Compare the other tool's search, version history and permissions with what your MediaWiki users rely on, since a per-project model may not match a shared, cross-team hierarchy.
Check whether the other tool's wiki covers the search, permissions and history your readers need, and compare that with a standalone BookStack setup before you choose consolidation.
Which MediaWiki features map to BookStack and which need redesign
This table maps the main MediaWiki features to their BookStack equivalents and rates each as clean, partial or redesign. Read clean as a straightforward move, partial as a move that needs a check or a decision, and redesign as work your team must design before migrating. The main takeaway is that page content maps cleanly into books and pages, while namespaces, templates, extensions, permissions and sign-in need decisions or tests before cutover.
| MediaWiki capability | BookStack equivalent | Migration notes | Rating |
|---|---|---|---|
| Pages and categories | Books, chapters and pages grouped on shelves | Map wiki sections to books and categories to chapters or tags, then confirm with content owners. | Clean |
| Namespaces | No one-to-one equivalent | Decide how each namespace becomes a shelf, book or chapter before content moves, since this drives permissions. | Redesign |
| Wikitext | WYSIWYG editor or optional Markdown editor | Convert wikitext in a staged pass, then have page owners review output before cutover. Formatting and links may need manual fixes. | Partial |
| Templates and parser functions | No direct equivalent | Rewrite as static content or drop. Find which pages use each template first, so nothing breaks silently. | Redesign |
| Extensions such as Semantic MediaWiki | No direct equivalent in BookStack's page model | Decide each extension on its own: keep the need as content, replace it, or drop it. Structured queries need a separate design. | Redesign |
| Per-page and group permissions | Role and permission system across shelves, books and pages | Test representative pages and roles in staging before assuming equivalence. Per-page rules may need redesign. | Partial |
| PluggableAuth sign-in | OIDC, SAML2 and LDAP sign-in | Map each PluggableAuth plugin to a BookStack method, then test login, role mapping and a fallback admin account. | Partial |
| Attachments and diagrams | Uploads and built-in diagrams.net diagrams | Inventory attachments and storage needs first. Diagrams may need re-creation or export by their owners. | Partial |
| Page history | Page revision history, scope to confirm | Run a test import and confirm whether revisions, authors and timestamps carry over before promising history to readers. | Partial |
Which export and import paths to confirm before choosing a method
Four checks come before any method choice, because each one decides whether a script, a manual import or a hybrid approach is workable. They connect at one point: the content and accounts leaving MediaWiki must arrive in BookStack in a form you can verify. Confirm each item against the documentation for the exact versions you run.
Confirm MediaWiki export tooling
MediaWiki's export and XML dump tooling supplies the content you convert, so it sets the ceiling for everything downstream. Check the manual for the version you run today, since export options and dump format come from that release. Per the lifecycle page, 1.43 is the LTS line supported until December 2027, and 1.46 is the current stable release. Confirm what the dump actually includes: page histories, uploaded files, templates and namespaces. Anything missing from the dump needs separate handling before the pilot starts.
Check BookStack's documented import paths
BookStack's installation and admin documentation is the starting point for the target side. Before you write any script, confirm whether the release you will run documents a bulk import or an API for creating books, chapters, pages and users. Read the docs for the exact version you deploy, because releases are frequent and an endpoint you rely on may not exist in the version you run. If no bulk path is documented, the plan shifts toward a page-by-page approach, which changes effort and schedule.
BookStack installation docsPilot the wikitext conversion
Do not assume a vendor-documented converter from MediaWiki wikitext to BookStack exists, so treat conversion as a project to test before committing. Wikitext covers templates, parser functions, tables, categories and extension tags, and each one needs a decision on how BookStack should show it. Pick one representative area, such as the most heavily templated content, and convert it end to end. Budget reviewer time for that pilot, because someone must check rendered pages, links and attachments before you scale. The pilot results size the rest of the work and show which content to retire.
Confirm identity and authorship mapping
Confirm how BookStack creates accounts at sign-in, whether users can be imported, and how page authorship and group membership carry over. BookStack supports OIDC, SAML2 and LDAP sign-in, and MediaWiki can use the PluggableAuth framework for similar protocols, so check whether one directory feeds both sides the same way. If accounts are created only on first login, former editors who never return will not exist in BookStack, and their authorship needs a documented fallback. Map MediaWiki groups to BookStack roles in writing before the pilot, because the permission models differ.
PluggableAuth extensionHow MediaWiki logins move to BookStack sign-in
The first decision is which login plugin your MediaWiki uses today, because that determines how much of your identity setup carries over. PluggableAuth gives MediaWiki plugins for OpenID Connect, SAML through SimpleSAMLphp, LDAP through LDAPAuthentication2, OAuth and REMOTE_USER, and BookStack signs users in through OIDC, SAML2 and LDAP. Teams on OIDC, SAML or LDAP can often keep the same identity provider and register BookStack as a new relying party, reusing the existing directory and user groups. Teams on OAuth or REMOTE_USER need a different plan. REMOTE_USER usually depends on a web server or reverse proxy that passes the username, so confirm whether that proxy can issue OIDC or SAML tokens before you commit. Also check your MediaWiki version, since PluggableAuth 7.x requires MediaWiki 1.40 or later.
Plan group-to-role mapping before any user signs in. MediaWiki groups such as sysop and bureaucrat, plus any custom groups you created, need a matching BookStack role, and BookStack's role and permission system applies rights across shelves, books, chapters and pages. Export current group membership from MediaWiki and agree the mapping with the people who own each shelf. Then decide which roles must use multi-factor authentication. BookStack's built-in MFA can be enforced per role, so administrators and editors can be required to enroll while read-only roles are not. Confirm how that enforcement interacts with any MFA your identity provider already runs, so users are not prompted twice without a reason.
Run a pilot login test with a small group before cutover. Choose a few users from each role, including at least one administrator, and have them sign in through the same path production will use. Check that each person lands in the expected BookStack role, that removing someone from the group in the identity provider removes their access, and that logout and session expiry behave as your security team expects. Do not assume account linking or history attribution from the documentation alone. Test whether a returning user's login matches an existing BookStack account, and whether content migrated from MediaWiki keeps its original author. If either test fails, decide before cutover how new accounts will be created and how imported pages will be attributed, and tell users what to expect.
Sequence for migrating from MediaWiki to BookStack with a parallel run
This sequence moves a MediaWiki wiki to BookStack in six stages, with a pilot before any content moves and a parallel run before cutover. Each stage ends with a named owner's sign-off and a written output, so the team knows exactly where it can pause or go back. The result is a retired MediaWiki with a verified archive kept under your own retention policy.
Inventory namespaces, extensions and integrations
List every namespace, installed extension, template, user account, authentication plugin, permission rule, attachment and inbound link from other systems. Assign one owner to each area, such as the wiki administrator for extensions and the security team for authentication and permissions. Record whether each item has a BookStack equivalent, needs manual rebuilding or will be retired. Each area owner signs the inventory sheet. The step is done when every area has an owner, a disposition for each item and a signature.
Design shelves, books and chapters
Map existing namespaces and page trees to BookStack shelves, books and chapters, and decide where content without a direct equivalent will live. Name a content owner for each book who approves its structure, page ownership and which pages are retired before import. BookStack does not run MediaWiki template syntax, so record how each template will be reproduced. The content owners and the wiki administrator sign the design document. The step is done when every page family has a target location and an approved owner.
Pilot one area end to end
Install BookStack from the official installation documentation on a non-production host, pinned to a stated release such as v26.09.1, and record the exact version in the runbook. Confirm the platform requirements of PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later. Move one area through export, import, permission mapping and link checks. Test an upgrade to a later release on the pilot before anyone depends on the instance. The pilot owner and the content owner sign off when pages, attachments and permissions match the inventory.
Build identity, roles and MFA
Configure BookStack sign-in through OIDC, SAML2 or LDAP, depending on what your identity provider supports, and map directory groups to BookStack roles. Turn on multi-factor authentication and decide which roles must enforce it. Test with pilot users, including accounts that should be denied access, and confirm that a removed user loses access. The identity team and the security team sign off. The step is done when test logins, role mapping and MFA enforcement pass, with a written result for each case.
Run both wikis in parallel
Keep MediaWiki and BookStack both live, and tell users which system is authoritative for each area during the run. Log every change made in either system, tagged by area, in a shared tracker, and reconcile those changes into the target at a cadence the team agrees. Area owners review remaining differences for their area before it moves to cutover. Check that the reconciliation log matches the wiki's recent changes records. The step is done when each area owner has signed off the final differences.
Cut over and decommission MediaWiki
Freeze edits on MediaWiki, run the final export and import, and check page counts, attachments and permissions against the inventory. Publish a link and redirect plan covering inbound links from other systems, then send the announcement to users. Once the new site has been stable through the window your team agreed, decommission MediaWiki and keep an archived export for the period your retention policy sets. The business owner, the security team and the records owner sign off. The step is done when the archive is verified and access to the old wiki is removed.
How the migration phases and go or no-go gates connect
The flowchart starts with an inventory of MediaWiki content and a target design of shelves, books and chapters. Each page area then meets one decision: do templates or extensions block it? Blocked areas are rewritten or dropped only after the content owner signs off. Every page then reaches conversion, followed by a pilot and an identity and roles test before the parallel run. The go or no-go gate comes after the parallel run. A go leads to cutover with an edit freeze and then decommission with an archive. A no-go holds the move until the gaps are closed, so the gate is where the team decides whether cutover can proceed.
Phases run top to bottom, with one go or no-go gate before cutover.
What drives the cost and duration of a MediaWiki to BookStack move
This table lists the drivers that change effort and cost in a MediaWiki to BookStack move, with what raises effort, what lowers it and what to ask for in a quote. Read each row against your own wiki inventory, since the same driver can be small in one wiki and large in another. The main takeaway is that the quote follows the written scope, so the inventory and the identity and content owner decisions shape the cost more than the raw page count.
| Driver | What raises effort | What lowers effort | What to ask for in a quote |
|---|---|---|---|
| Page count and link density | Many pages with dense internal links, which must be remapped after import and checked for broken targets | Retire stale pages and dead links before export, and agree which pages are kept | Page and revision counts from the inventory, link counts by namespace, and how broken links are handled |
| Templates, parser functions and extensions | Heavy template logic and parser functions that need manual rebuilding in BookStack pages | Templates flattened into plain pages, with a short list of extensions retired in scope | How each template and parser function is converted, and whether any custom extension code is reused and its license reviewed |
| Version pinning for MediaWiki and BookStack | Running a MediaWiki release more than two LTS releases back, which needs staged upgrades first | Current LTS, MediaWiki 1.43, supported until December 2027 per the MediaWiki version lifecycle page | Target versions for both platforms, the upgrade path from your MediaWiki release, and the update policy after cutover |
| Identity setup, groups and namespace permissions | Many custom groups and per-namespace rights that map poorly onto BookStack roles | Few groups, LDAP or OIDC already in place, and a clear mapping to BookStack roles | Group-to-role mapping table, how namespace rights become shelf and book access, and MFA enforcement by role |
| Attachments, media and diagrams | Large uploads, embedded media and diagrams stored outside the page text | Attachments exported in bulk, and diagrams redrawn in BookStack's built-in diagrams.net editor | Total attachment volume, the file export method, and whether diagram source files are kept |
| History and authorship retention | Full revision history and author attribution kept for audit or records | Current versions only, with a dated read-only archive of the old wiki | How much revision history BookStack imports, and how authorship is shown after migration |
| Bots, API consumers and external links | Scripts, bots or systems calling the MediaWiki API or linking to specific page URLs | A short, known list of consumers, with redirects planned before cutover | Redirect plan for old URLs, the list of API consumers to repoint, and sign-off for each |
| Content owners and parallel run length | Many content owners reviewing migrated pages, and a long parallel run with both wikis live | Named owners per shelf and a short parallel run fixed in the written scope | Owner count and review time assumed, parallel run length, and who does the review work |
| Quote basis | Scope and inventory, conversion, identity work, testing, cutover support and any retainer for ongoing upkeep | A written scope agreed before work starts, from which the quote is built | Which items are one-time, which recur, and what a retainer covers |
What goes wrong when migrating from MediaWiki to BookStack
The failures below tend to appear late, after pages have already been imported. Each card pairs one failure with the check that prevents it, and most of those checks depend on decisions about structure, access and identity made before the first import run.
Broken links and bookmarks
MediaWiki page addresses follow its own title and namespace scheme, while BookStack places each page under a shelf, book and chapter, so broken links and bookmarks can all fail at once after cutover. Build a link map from the MediaWiki page table or a crawl of the live wiki, pairing each old title with its new BookStack page. Then write the redirect plan at the web server or reverse proxy for every URL pattern the map covers, and spot-check bookmarks from each department after go-live. Confirm with your BookStack build how its page URLs are generated, since that pattern determines how many redirect rules you need.
Templates and extensions found late
Templates, parser functions and extensions often surface after the plan is approved because nobody listed them. Many have no direct equivalent in a book-and-page model, so each one needs a disposition: rebuild its output as plain content, use a BookStack feature, or retire it. Make the inventory gate a condition of scope approval by recording every installed extension, the template namespace, custom skins and hooks, with an owner and a disposition for each item. Check each extension's license too, since extensions that use MediaWiki functions must be under the same or a compatible license.
Permission drift on restricted pages
Restricted pages can become visible to everyone or lose access for the people who need them. MediaWiki grants rights through groups and namespace settings, while BookStack uses its own role and permission system across shelves, books, chapters and pages, so the two models rarely line up without a written mapping. Prevent this with a per-area permission test: for each restricted space, sign in with test accounts that represent each MediaWiki group and check what each one can view, edit and find in search. Record the results per area and repeat the test after every trial import, not only before cutover.
Identity misconfiguration and duplicate accounts
Lockouts and duplicate accounts happen when the identity layer behind the two wikis disagrees. MediaWiki often signs in through the PluggableAuth framework with OpenID Connect, SAML via SimpleSAMLphp or LDAP, and BookStack supports OIDC, SAML2 and LDAP sign-in, but the username, email and group claims each side reads may differ. A mismatched email or username format can create a second account for the same person, and a wrong group filter can lock out a whole department. Prevent this with a pilot group drawn from every area, confirming that accounts merge correctly before access opens to everyone.
PluggableAuth extensionContent that loses meaning in conversion
Converted pages can lose meaning even when the import finishes without errors. Merged table cells, templates that generate text, category-driven lists and red links can come through altered, empty or unlinked. Converted pages also usually need cleanup in BookStack's editors before they are accurate. Prevent this with owner review: each space's owner checks a sample of converted pages against the original using a checklist that covers tables, images, links and attachments, and signs off before that space is scheduled for cutover.
Cutover forced by version timing
A source version deadline can set the cutover date before the migration is ready. MediaWiki 1.44 became obsolete on July 31, 2026, and MediaWiki 1.45 is a legacy release with end of life in December 2026, so a wiki still on 1.45 may need an upgrade before the import. Prevent this by choosing the MediaWiki line you will run during the migration and setting the decision date early. The lifecycle page lists 1.43 as the LTS release, supported until December 2027, and 1.46 as current stable with end of life in July 2027. Confirm exact dates with MediaWiki before you commit.
Version lifecycle pageQuestions teams ask before migrating from MediaWiki to BookStack
What does a MediaWiki to BookStack migration cost and what is each part paid for?
The main costs are labor and infrastructure, since MediaWiki and BookStack are both open source and carry no license fee to buy. Internal staff time covers content owner review, the MediaWiki admin's export work and final sign-off. Infrastructure covers a new PHP and MySQL or MariaDB environment, backups and a staging copy for test runs. If you hire an implementation partner, you pay for the scope you agree in writing, such as export and conversion work, identity integration, cutover and handover. Migration work is one-time, while hosting, upgrades and any support retainer recur. Ask any quote to list each part separately, along with what it assumes about page count, attachments and template conversion.
How long does a MediaWiki to BookStack migration take?
No fixed duration fits every wiki, because the schedule follows the content and the decisions around it. The biggest drivers are the number of templates, extensions and attachments in use, how much content needs cleaning or restructuring, and how quickly content owners approve the new shelf, book and chapter structure. Identity integration adds time if single sign-on and group mapping are new work for your team. Parallel running and a cutover window also need planning. Request a plan with phases and the decisions each phase depends on, and check it against your own change freeze windows and review cycles.
Which people does a MediaWiki to BookStack migration need from our team?
A migration needs named people for four roles, and the work stalls quickly when any role is empty. Content owners decide which pages move, which are merged, archived or deleted, and they check the results in BookStack. A MediaWiki admin provides database and file access, knows the installed extensions and templates, and runs the export. An identity owner confirms how staff sign in, whether through LDAP, SAML or OIDC, and which groups map to BookStack roles. A sign-off owner approves the shelf, book and chapter structure before bulk import, because restructuring after import takes more work. Agree in advance who makes the final call when owners disagree.
Can our own team migrate MediaWiki to BookStack without outside help?
Yes, a team with Linux, PHP and database skills can often move content alone, especially for a small wiki with few extensions. Outside help usually matters for the parts that are harder to verify in house: converting MediaWiki markup and templates into BookStack pages, mapping an LDAP or SAML identity setup to roles, and running a test cutover with a rollback plan. Some teams also bring in a partner for a structure review and a retest after changes. DeployOpen plans, implements, integrates and documents self-hosted platforms inside your own infrastructure, and most engagements are fixed-scope, with scope and deliverables agreed in writing before work starts. Decide which parts your team owns before you ask for a quote.
Should we stay on MediaWiki 1.43 LTS and plan the move later?
Staying on MediaWiki 1.43 LTS is a reasonable choice when the wiki is stable and a move would land in a busy period, since 1.43 is supported until December 2027. The MediaWiki lifecycle page lists 1.45 as legacy with end of life in December 2026 and 1.44 as already obsolete, so the LTS line is the version to plan around. Confirm that your extensions support the version you run before you commit. Set a decision date well ahead of December 2027, because an export and a test cutover need time to run before the support window closes. Plan the move as a project with a go or no-go date so it does not drift. The MediaWiki version lifecycle page is the place to confirm current dates.
Does BookStack run on the database we already use for MediaWiki?
It depends on your database, because BookStack and MediaWiki support different engines. BookStack requires PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later. MediaWiki also supports PostgreSQL and SQLite, and its installation requirements list MariaDB 10.3 or later, MySQL 5.7 or later, PostgreSQL 10 or later and SQLite 3.31 or later. If your wiki runs on PostgreSQL or SQLite, the content moves to MySQL or MariaDB as part of the migration, so the import and any database-specific queries need testing. Check your current engine and version first, then confirm the target versions your hosting team supports. The BookStack installation docs list the exact requirements.
Do page history and authorship survive a MediaWiki to BookStack migration?
They can, but only if the migration method you choose preserves them, and you must confirm that for your method before you start. Some import methods carry over only the current page text, which can leave the original editors and timestamps behind. Ask the implementer to show, on a test copy, how each revision, timestamp and author appears after import. Also check how user accounts map, because if staff sign in through an identity provider, old usernames need a clear link to the new accounts. Keep an archived export of the original wiki, including its history, so you can answer audit or dispute questions later.
How DeployOpen scopes and delivers a MediaWiki to BookStack migration
DeployOpen plans and implements self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks, so the MediaWiki to BookStack move happens on infrastructure your team controls. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The steps below show what that looks like for this migration.
How we scope
- The written scope lists the MediaWiki instances, extensions and namespaces in use, agreed before work starts.
- Scope maps which content moves to books, chapters and pages on shelves, and which content is archived or retired.
- Scope covers sign-in for BookStack, which supports OIDC, SAML2 and LDAP, and how existing accounts are handled.
How we build
- Test how page history, attachments and internal links carry over in a non-production copy.
- Map MediaWiki namespaces, categories and templates to BookStack shelves, books and chapters, and record each decision.
- Configure BookStack sign-in, roles and multi-factor authentication, then test them against the access rules your wiki used.
How we hand over
- The handover documents cutover order, rollback steps and mapping decisions, as agreed in the written scope.
- Admin documentation for the BookStack install, backups, upgrades and the sign-in configuration your team will own.
- A reconciliation list of migrated content, extensions and users gives your team a basis for sign-off.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after cutover.
- Ask for the retainer scope in writing so upgrade and testing duties are clear.
- Ask how upgrades are tested in a staging copy before they reach production, and who owns the rollback.

