v1.11.3 — File attachments now work in wiki articles.
Fixed
- Downloads in articles. With FoF Upload installed, a file button inside a wiki article, FAQ answer or comment showed up but did nothing when clicked. It now downloads the file, using FoF Upload's own download route, so its permission checks still apply. Visitors without download permission see FoF Upload's "not allowed" message instead.
Improved
- Attach files in the simple editor. When the wiki falls back to its plain editor, it now has an "Attach files" button whenever FoF Upload is installed and the user can upload. The regular editor already had FoF Upload's upload button, paste and drag-and-drop.
Tip
FoF Upload accepts images only by default. To attach PDFs or other files to articles, add a rule for their file type in FoF Upload's settings, and check the "Upload files" and "Download files" permissions for the right groups.
After updating
Run php flarum cache:clear. There are no database changes in this release.
Update
composer update linkrobins/wiki
Release notes on GitHub: https://github.com/linkrobins/flarum-wiki/releases/tag/v1.11.3
On Packagist: https://packagist.org/packages/linkrobins/wiki