From 5ko at 5ko.fr Sat Jan 15 07:03:42 2022 From: 5ko at 5ko.fr (Petko Yotov) Date: Sat, 15 Jan 2022 16:03:42 +0100 Subject: [pmwiki-announce] PmWiki 20 years, version 2.3.1 released Message-ID: Hello, PmWiki version 2.3.1 was published today, and is available at: * https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.1.tgz * https://www.pmwiki.org/pub/pmwiki/pmwiki-2.3.1.zip * svn://www.pmwiki.org/pmwiki/tags/latest January 2022 is the 20th year anniversary of the release of PmWiki version 0.1, and 13 years since I (Petko) became core developer. This merited additional work and effort with hopefully interesting and useful new production. PHP 5.3 - 8.1 compatibility * PmWiki 2.3.1 includes updates for PHP 8.0 and 8.1. * Consequently, it requires PHP version 5.3 (released 2009) or more recent. PmSyntax. A new function PmSyntax was added to the core, and enabled on pmwiki.org. * It highlights PmWiki syntax in the documentation, and possibly in the basic edit form. * It only highlights PmWiki markup, and is independent from Highlight.js. See Cookbook:PmSyntax [1] and $EnablePmSyntax [2]. * It should highlight most core language features and those of many recipes, see this mashup of various markups [3]. * Developers can add custom rules in the $CustomSyntax [4] array, see Cookbook:CustomSyntax [5]. * The (:markup:) directive can now have class=norender to only show the source code without processing it. This may be useful, together with PmSyntax, in 2 cases: writing/discussing markup code without actually running it, or working on PageList Templates where you want to see and edit them highlighted. Improvements to the edit form * PmSyntax (above) can be enabled to highlight the PmWiki markup the edit form, and should work in recent standards-compliant browsers. * The variable $EnableNotSavedWarning [6] is now enabled by default. Add to config.php $EnableNotSavedWarning [6] = 0; to disable it. * A new variable $EnableIncludedPages [7] allows listing of other pages included from the currently edited page, with links to see or edit them. When the variable is enabled, the list of pages appears in the edit form, after the text area, in a collapsed
element. The list includes pages from which text, text variables, or templates are included from the edited page. This is enabled on pmwiki.org if you wish to preview it. * The $EnableEditAutoText [8] function will now feel more like other text editors by removing the automatically inserted bullet when Enter is pressed twice. Dates and times, monitoring, review * The {(ftime)} Markup expression now accepts a new format '%o' for the ordinal suffix of the date. * The Notify [9] feature now accepts a tz= timezone specifier for individual subscribers. See Notify#tz [10]. * A function based on Cookbook:LocalTimes [11] was added to the core. See the recipe page [11] for the differences. You can continue using the recipe, or disable it and enable the core function. * New core variables $EnableLocalTimes [12], $CurrentLocalTime [13]. * New markup @2022-01-09T08:35:00Z output as a