Welcome to another beta release! I've got a bunch of cool features lined up for this release - such as initial statistics support (that's extendable by other modules!), the ability to delete comments, machine-readability improvements in the API, a bunch of bug fixes, and a number of quality-of-life improvements 🙂
As always, make sure you make a backup before updating! All you need to do is replace index.php on your web server with the new version - instructions for obtaining it can be found in the README, or can be found attached to this release.
Added
- Statistics! (#97)
- Added a new statistics engine, which you can add your own statistic calculators to with
statistic_add - Added action
statsto view the calculated statisics - Statistics are automagically recalculated every day - this can be controlled with the
stats_update_intervalandstats_update_processingtimesettings
- Added a new statistics engine, which you can add your own statistic calculators to with
- Added new "« Parent Page" to subpages so that you can easily visit their parent pages
- Users can now delete their own comments, and users logged in as a moderator or better can delete anyone's comments.
- Added new
comment-deleteaction - Comments are deleted entirely if they have no replies - otherwise the username & message are wiped
- Added new
- The
historyaction now supportsformat=jsonandformat=csv - Added tags next to the names of pages in the search results
- Added new
random_page_excludesetting that allows you to exclude pages from the random action with a (PHP) regular expression - [module api] Added new
get_page_parent($pagename)method. - [module api] Added new remote file system to download additional required files. Use it with
register_remote_file
Fixed
- Fixed invalid opensearch description.
- When deleting a page, if
feature-commentsis installed, all the comments attached to the page are deleted too - Fixed paths when generating previews in certain environments
- Fixed handling of pages and tags with single quotes in the name
- Fixed weirdness on some pages rendered by the Pepperminty Wiki core
- Fixed a few minor usability issues on the upload file page.
- Removed some extra space at the bottom of some pages.
- The
rawaction now sends a 404 if the request page doesn't exist on the wiki.
Changed
- Make
invindex-rebuildadmin-only, but allow access if the POST paramsecretis set to your secret inpeppermint.json - Improved the wording of the deletion confirmation and error pages
- Search now searches matching tags as well as pages
- Updated the search ranking algorithm to put more weight against longer words than shorter ones.