Wiki v1.3.0 is out. Full notes: https://github.com/linkrobins/flarum-wiki/releases/tag/v1.3.0
This release fixes two display problems reported by the community and adds a new permission.
Fixed
- Code blocks in wiki articles and comments now look the same as they do in regular forum posts, including syntax highlighting. Before this, the highlighter never ran on wiki pages, so code came out plain.
- On phones, an article with a wide code block or table no longer stretches past the edge of the screen. Wide content scrolls inside its own box instead, just like in discussions.
- If you also run Font Sizer, article titles on small screens now follow the reading-size setting like the rest of the page.
New
- A "View wiki article revision history" permission in the admin permission grid. Everyone can view history by default, exactly as before, but you can now limit it to members or specific groups. Users without the permission simply don't see the History section on articles.
Thanks to Stezkoy on the Flarum community forum for the reports.
Update with composer update linkrobins/wiki.