Welcome to a new release! It has been quite some time, but I can assure you that it was worth the wait :) (If you want it to come quicker, submit a pull request!) In this release, we have:
Additions
- #6 Sub pages! These are created by entering an existing page name and then adding a forward slash (
/
), and then typing the new page's name. They nest, too, so you could haveFruits/Apples/Braeburn
if you wanted! - Enhanced credits page: It now shows you your Pepperminty Wiki version and the number of pages and modules you have. I've also tidied up the main credits - they are now in bullet points.
- #7 Optional sidebar! To enable it, add
$settings->sidebar_show = true;
to your configuration, or append&sidebar=yes
to the url. Adding to the url sets a cookie to remember your choice for 30 days. - Export as zip: Allows you to export all the pages on your wiki via the credits page. Direct access can be gained through the
action=export
url parameter. Also adds$settings->export_allow_only_admins
, which should be fairly self explanatory.
Changes
- Rearranged internal utility functions
- More internal comments have been tidied up
- The page renderer has been rewritten again, adding
page_renderer::register_part_preprocessor(func)
, which gets passed an array of page parts which can then be tweaked before the page is sent to the user. Make sure that functions you register take a reference to an array as their first parameter.
Bug Fixes
- #15 Sort the list of pages alphabetically