From 5ko at 5ko.fr  Sun Apr  5 10:45:38 2026
From: 5ko at 5ko.fr (Petko Yotov)
Date: Sun, 05 Apr 2026 19:45:38 +0200
Subject: [pmwiki-announce] PmWiki 2.5.9 released
Message-ID: <86aa59aa5a269edc5013b9df4da8dcfa@5ko.fr>

Hello. PmWiki version 2.5.9 was published today, and is available at:

   https://www.pmwiki.org/pub/pmwiki/pmwiki-2.5.9.tgz
   https://www.pmwiki.org/pub/pmwiki/pmwiki-2.5.9.zip
     svn://www.pmwiki.org/pmwiki/tags/latest

This version includes optimizations to the JavaScript helper libraries.

Core syntax highlighting in the edit textarea will now have a 
semi-transparent selection, so selected markup will be highlighted. For 
programming languages, it now allows for language autodetection with 
%hlt%, and the detected language will appear as a tooltip title over the 
highlighted block.

LocalTimes has been refactored, and timestamps on page histories will 
now be wrapped in semantic <time> elements.

A bug was fixed with SaveAttributes, another one with Sortable tables 
when a row had fewer cells than other rows, another one with 
$MessagesFmt appearing multiple times on preview edit.

A new wikistyle %download%[[link]]%% or 
%download=filename.pdf%[[link]]%% was added for links. It instruct the 
browser to show the SaveAs dialog box rather than opening the link. The 
suggested filename can optionally be supplied.

The functions handling $EnableEditAutoText and $EditAutoBrackets were 
refactored. $EditAutoBrackets was removed from 
$EnableCommonEnhancements. Automatically closing brackets can now have 
separate character sets when text is selected from when it is not. A 
number of new keyboard shortcuts for editing were added, see 
Cookbook:EditHelp.
   https://www.pmwiki.org/wiki/Cookbook/EditHelp

The function ParseArgs() will now ignore/drop unquoted empty arguments 
like name=, previously it returned these as positional arguments which 
could cause problems with some pagelists. If a string looks like an 
argument and needs to be returned as positional one, it should be quoted 
like "name=" (this was already documented for pagelist and search).

The FixUrl GuiEdit button has 2 new functions. Clicking on it 
url-encodes some special characters in selected text (for link URLs, 
like before). If Shift is held down, it will encode all special and 
international characters. If Control is held down, it will try to decode 
all encoded characters.

The page SiteAdmin.AuthUser can now have user properties on subsequent 
lines if they end with a backslash.

Some additional debug variables are shown in StopWatch for UpdatePage().

The documentation was updated.

Thanks,
Petko

-- 
If you upgrade :  https://www.pmwiki.org/Upgrades


