Skip to content

Conversation

@loz-hurst
Copy link
Contributor

Started working on moving all mediawiki content to sub-namespace in dokuwiki so that an old wiki can be kept in it's own namespace in a new dokuwiki.

Current issues:

  • namespace name ('old_wiki') is hardcoded - should be a commandline option
  • This change breaks all tests that assume structure is rooted at the same place in both for the purposes of links etc.

WIP merge request created for others to be able to refer to this as a basis for their own migrations.

@projectgus
Copy link
Owner

@loz-hurst Neat idea! If it's helpful I've merged the other PRs so you should be able to rebase on the master branch.

@loz-hurst
Copy link
Contributor Author

@loz-hurst Neat idea! If it's helpful I've merged the other PRs so you should be able to rebase on the master branch.

I've done that. I don't know how much further I'll get with this to be honest - like most people, I imagine, I'm using it for a one-shot migration so the hard-coded new namespace works for us and it breaks all the tests (as the links assume a 1:1 translation). I'm under pressure at work to just deliver the migration so finishing this off into a mergeable form is likely to take a back seat.

@projectgus
Copy link
Owner

projectgus commented Aug 23, 2019

I've done that. I don't know how much further I'll get with this to be honest - like most people, I imagine, I'm using it for a one-shot migration so the hard-coded new namespace works for us

Understand entirely! I think back when I made this (the one-shot time I was using it), I found that it was easy enough to manually re-arrange & re-merge everything once it was imported into dokuwiki.

Please @-mention me if you do end up finishing this, and I'll take a look at the PR again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants