PmWiki 2.3.31
28 February 2024
PmWiki version 2.3.31 is now available.
Upgrading to PmWiki 2.3.31
PmWiki 2.3.31 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply PmWiki updates as new versions are released, or use Installatron's Clone feature to duplicate an existing PmWiki install to test the 2.3.31 upgrade prior to applying it live. Get started managing your PmWiki installations with Installatron
What's New in PmWiki 2.3.31
Bug Fixes and Changes
- Improvements to the color sets of the dark theme for the PmWiki-responsive skin, and for the PmSyntax highlighting.
- The dark toggle icons are now 3-state, rotating between Light, Dark, and Auto (browser/system preference), and an annotation tooltip near the icon displays the current mode.
- The dark theme functions detecting, storing, and restoring visitor preferences can be reused by other skins, and a new variable $EnableDarkThemeToggle can define the default theme for visitors that have not used the toggle icon.
- The page attributes form where passwords and permissions are defined, can now add or remove passwords, users, or groups, without the need to rewrite the full definition. If for example you need to add a new password and a group without removing existing permissions, type "+ " (plus, space) or "- " (minus, space), followed by the permissions to be added or removed: + MyNewPassword @newgroup
- Edit templates entries can now include page patterns where the template should be used. For example: $EditTemplatesFmt[] = "Site.TalkTemplate name=*-Talk";
- The function PrintFmt() was refactored to process markup and wiki pages before outputting HTML headers, which would allow for markup, headers, footers, sidebars included from the skin, and action pages like the Auth form, to configure $HTMLHeaderFmt and $HTMLStylesFmt, and the directives (:noheader:), (:notitle:), (:noleft:), (:noaction:) to work from these pages. In case your wiki relied on the previous behavior, you can revert to it by adding to config.php: $EnablePrePrintFmt = 0;
- The variable $EnableUploadVersions can now be set to 2, and if a file with the same name already exists, the new file will have a unique suffix added.
- RecipeCheck was updated to also list skins and report their versions.
- Other minor changes include: the "form" attribute was added to input fields; WikiStyles accept a new property 'columns', (:redirect quiet=1:) has been refactored to prevent an infinite loop, and the documentation was updated.