Description
When migrating from version 1.3.5 (And I guess from other previous version, links such as:
[wiki:SomePage/SubPage "Oh, a link!"]
get converted as
[[SomePage:/InterWiki|"Oh, a link!"]]
which is wrong.
From reading the source code, I've noticed that the problem happens because each of the pages is migrated one at a time, and when each of the pages is being migrated, its text is also migrated and when the migration script encounters a link such as those already mentioned, it checks whether that destination page exists. This shouldn't be a problem if it checked them against the old data (on the pre160 directory), but it is checked against the recently created directory where not all the pages have been migrated (it is in the process of).
So, depending on how it walks the file system and in which order it gets the pages (and migrates them), some links will fail and some other will not.
Steps to reproduce
- Just create some links as above
- Migrate it to 1.6
- Check the result.
Example
Component selection
- migration
Details
MoinMoin Version |
1.6.0 |
OS and Version |
Linux |
Python Version |
2.5.1 |
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
en |
Workaround
Discussion
Plan
- Priority:
Assigned to: ThomasWaldmann
Status: page existance check made work by http://hg.moinmo.in/moin/1.6/rev/9336f3e4c328