You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Simply configuring a relative namespace wouldn't work since we would need to resolve it to absolute anyway. However it should be possible to simplify the mediaID based on the current pageID on the JavaScript side. This could always be done, no need for a setting.
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
The text was updated successfully, but these errors were encountered: