It would be extremely helpful if Commons supported at least one easily editable slides format that could be opened by LibreOffice/OpenOffice etc. I know you can upload slides in pdf or zip them up, I think it would be very useful to have native support for slides given the amount of Wikimedia related conferences that happen.
- Mentioned Here
- T4089: Whitelist OASIS OpenDocument file format
T25829: Enable OpenDocument format upload on wikimania2010wiki
T26076: Enable upload of odp/ppt presentations on wikimania2010 wiki
T45154: Commons uploads: Support automatic conversion of Microsoft Office to LibreOffice/OpenOffice.org formats
T28508: Content Security Policy (CSP)
The problem is highlighted here... https://github.com/wikimedia/mediawiki/blob/master/includes/DefaultSettings.php#L923-L930
* @warning If you add any OpenOffice or Microsoft Office file formats here, * such as odt or doc, and untrusted users are allowed to upload files, then * your wiki will be vulnerable to cross-site request forgery (CSRF).
I would suggest that unless we implemented some scanning of the files (I've no idea how easy, hard or otherwise that would be. It's probably a rabbit hole), we're basically blocked until we have something like T28508: Content Security Policy (CSP) and running with it in a restrictive mode. But I cannot say offhand if that would be sufficient to quell the problem
Thanks very much for clarifying the issues blocking this, are there any open slide formats that would not have this issue? LibreOffice can save files in many formats:
Not sure, would require some research
I would obviously avoid pptx and ppsx (at least), with them being Microsoft PowerPoint formats, and as such aren't so open formats :)
A thought as a workaround; try saving the presentations to TIFF? It supports multi page images, and MediaWiki will let you browse through the pages too. No idea how well they come out after being saved by the various programs
How could someone research if they would avoid this issue? What should they be looking for?
Thanks for the workaround, I know that zipping up the file also works, but its still a bit of a fudge
Hmm. So on macOS, PowerPoint saves it to a TIFF file per slide (bleugh)
LibreOffice only seems to export one slide...
I did find https://extensions.libreoffice.org/extensions/export-as-images but might not work on newer versions