Welcome to a new release! This one has by far the most commits of any release so far at 58, which is about a quarter of all the commits pushed to this repository so far...!
Anyway, this release contains a few big new features (such as page protection and redirect pages). The rest of this release fixes bugs and lays ever more groundwork in preparation for things later on. I've also adopted a different way of committing bug fixes, where I try to bundle each bugfix into it's own commit and prefix the commit message with Bugfix:
. This comes from another (for now secret) project that I've been working on.
You can download the latest release below, or use the online downloader to pick the modules you want to include if you're picky.
Additions
- 28234dc - Added a new Linux build script called
build.sh
- 55fa08e..f694c9c - New Travis CI automated testing setup
- b27dd83 - Document the module API
- 03c908b - Added support for optional modules
- cab6f9f - Added new raw action, which outputs the source for the given page
- 1ead4c9..7a2da1d - Tidied up all the random global variables floating around into one nice neat
$env
variable - 881418d - Added
$settings->footer_message
setting to display a message at the bottom of every page, which can contain arbitrary HTML. - f5b0b85 - Added
$settings->editing_message
setting to display a message just before the save edit button, which can contain arbitrary HTML. - 6ad8342 - Added page protection. This also updates your settings by adding
$settings->protectedpagechar
, which is the string to prepend to a page's title if it's protected (defaults to🔒
, which is a lock symbol), and adds[ $settings->admindisplaychar . "Toggle Protection", "index.php?action=protect&page={page}" ]
to$settings->nav_links_extra
in order to make the protect option accessible. - #14 (bb21686..e2d6a7f) - Added redirect page support. Create a redirect page in the same way as you would in Mediawiki (e.g.
# REDIRECT [[Page Name]]
. Note that the redirect page support has been added to the view module and that whether a page is a redirect is stored in the page index. This means that if you remove the redirect module after making a page a redirect, it will still function as one until you update it.
Changes
- #17 (87b3bd7) - The sidebar is now sorted alphabetically
- a5be970 - Updated the CSS on the download page to match the new theme
- 8b90b2b - Stored the build in a separate folder
- f915df2 - Added the related issue number next to the items on the todo list in the readme