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
{{ message }}
Repository navigation
improve osw.core.OSW.store_entity to also be aplicable for file pages #24
File pages can also be entities, but store entity does not account for suffixes like .png
At the moment this has to be worked around with page.edit() from wtsite.WtPage(title="sometitle_with.suffix")
Implemented. WikiFileController.put builds the suffixed title and delegates to OSW.store_entity, so file pages no longer need the raw WtPage.edit() workaround. See src/osw/controller/file/wiki.py and examples/file_upload_download.py for the current pattern.
Follow-up work on upload ordering and atomicity is tracked separately in #155 and #153.
Activity
LukasGold commentedon Sep 3, 2026
Implemented.
WikiFileController.putbuilds the suffixed title and delegates toOSW.store_entity, so file pages no longer need the rawWtPage.edit()workaround. Seesrc/osw/controller/file/wiki.pyandexamples/file_upload_download.pyfor the current pattern.Follow-up work on upload ordering and atomicity is tracked separately in #155 and #153.