Welcome to Pepperminty Wiki version 0.15! Today Pepperminty Wiki turns 3 - so I decided to time this release so that it comes out on the same day 😺
This release contains a bunch of quality-of-life improvements and bug fixes - as well as a brand-new statistics system. Module developers aren't left out in the cold either - a new remote files system has been added that gives modules a framework for downloading additional files they need, and improvements to the machine-readability of the REST api have been made too.
Highlights are given below, followed by the full changelogs. To update, simply get a new copy of index.php through all the usual channels, which are given in the README. Alternatively, you can download the prebuilt copy from this release.
Highlights since v0.14
- New statistics engine
- Users can now delete their own comments, and admins can delete any comment
- New "restore locally saved content" button to page editor
- New
random_page_exclude
setting to exclude pages from therandom
action - Search now displays a list of tags that match at the top of the results too
Since v0.15-beta2
(No changes have been made since v0.15-beta2)
Since v0.15-beta1
Added
- Added "restore locally saved content" button to page editor
- [module api] Documented the remainder of the members of the
search
class
Fixed
- Moving a page will now move all the comments associated with it
- The page names on the page move success page are now encoded correctly to avoid html and url issues
- Clicking Login to post a comment will now take you back to the comments section of the page you were on upon completing the login process instead of the top of the page
Since v0.14
Added
- Statistics! (#97)
- Added a new statistics engine, which you can add your own statistic calculators to with
statistic_add
- Added action
stats
to view the calculated statisics - Statistics are automagically recalculated every day - this can be controlled with the
stats_update_interval
andstats_update_processingtime
settings
- 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-delete
action - Comments are deleted entirely if they have no replies - otherwise the username & message are wiped
- Added new
- The
history
action now supportsformat=json
andformat=csv
- Added tags next to the names of pages in the search results
- Added new
random_page_exclude
setting 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-comments
is 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
raw
action now sends a 404 if the request page doesn't exist on the wiki.
Changed
- Make
invindex-rebuild
admin-only, but allow access if the POST paramsecret
is 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.