-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Reason: We sync parts of Dokuwiki to other namespace in other dokuwikis. This will not work with images from ImgPaste, because the full path including all namespaces will written into the dokuwiki .txt file.
Example:
Image is stored in /var/www/data/media/location01/networkplan/pasted/20181025-171042_.png
dokuwiki .txt is {{:location01:networkplan:pasted:20181025-171042_.png}}
But on the synced Wiki on location 01 the namespace location01 is missing, because we synced all files directly to the first namespace networkplan.
Problem:
the image is there, but its not in /var/www/data/media/location01/networkplan/pasted but in /var/www/data/media/networkplan/pasted/20181025-171042_.png
Solution:
Option to paste relative path in the dokuwiki .txt wiki page.
Example: {{.:pasted:20181025-171042_.png}}
Workaround:
use ':imgpaste:@ns@:pasted:%Y%m%d-%H%M%S' as filename and sync the folder separately