Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import19: add target namespace parameter #1609

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

UlrichB22
Copy link
Collaborator

... and fix itemlink migration for subitems (e.g. for users namespace)

Related to #1597.

@RogerHaase RogerHaase merged commit 149ea0f into moinwiki:master Feb 21, 2024
5 checks passed
@UlrichB22 UlrichB22 deleted the import19_namespace branch February 22, 2024 14:06
@ClaasTeichmann
Copy link

I tested import19 with my wikifarm and found several issues, which I am listing here:

Missing directories

I have to create the missing directories:

wiki01/data
wiki01/meta

before converting.

User directories

User directories are stored in moin19 in

common/user

They are expected by the import routine in
wiki01/data/user

Solution:

cd wiki01/data/
ln -s ../../common/user .

Alternatively, it could be good to provide an additional parameter to specify the user-directory.

Groups

In moin19 each wiki in the farm had its own EditorGroup, AdminGroup, etc.
Now, to separate the EditorGroups, it would be good to convert the EditorGroup to Wiki01EditorGroup.
The wikiconfig.py has to be adapted accordingly.

Do I understand it correctly that different wikis with different users are separated now by using different namespaces?

Missing Link

This, e.g., pdf cannot be found:

http://127.0.0.1/namespace01/Page01/Attachment01.pdf

It can be found here, thus the namespace information is missing:

http://127.0.0.1/Page01/Attachment01.pdf

Mind that the page is created correctly here:

http://127.0.0.1/namespace01/Page01

EditorGroup doesn't exist

The page

http://127.0.0.1/EditorGroup

doesn't exist and cannot be created.

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