[pmwiki-announce] PmWiki 2.3.31 released
Petko Yotov
5ko at 5ko.fr
Fri Feb 23 02:15:54 PST 2024
Hello. PmWiki version 2.3.31 was published today, and is available at:
https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.31.tgz
https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.31.zip
svn://www.pmwiki.org/pmwiki/tags/latest
This release includes 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 user groups, without
rewriting 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.
Thanks,
Petko
--
If you upgrade : https://www.pmwiki.org/Upgrades
More information about the pmwiki-announce
mailing list