Version | Change log |
PmWiki 2.3.38 Nov 3, 2024 |
This version includes updates for recent PHP versions for PmForm and Notify. For PmForm, a new variable {$$CurrentLocalTime} in a template will insert the date/time formatted according to $EnableLocalTimes. The variable $UploadBlacklist has been deprecated. A new variable $UploadBlockPatterns now accepts comma-separated wildcard case-insensitive patterns like this: $UploadBlockPatterns = '*.php*,*.pl*,*.cgi*,*.py*'; # disallow common script files Uploading files matching the patterns will be rejected. $MessagesFmt has been refactored to allow associative arrays with keys that can be set from recipes. The directive (:messages keys=a,b details=open:) now accepts the attributes "keys=" which can have comma-separated keys or patterns, and "details=" that can be "open" or "closed", which will wrap the grouped messages in a <details> element. In addition, individual messages starting with "markup:" will now be reprocessed by the markup engine. WikiStyles now accept inline calc() operators. A new helper function PosArgs($args, $posnames) was added and the documentation was updated. |
PmWiki 2.3.37 Aug 21, 2024 |
This version adds new variables $EnableCommonEnhancements and others, and updates docs/sample-config.php, to make it easier to enable some popular but optional functions, similar to what is enabled when editing on pmwiki.org. The "minor checkbox" label is now part of the (:input e_minorcheckbox:) markup, and may be modified automatically, notably when merging edits. Note that the page Site.EditForm has been modified, if you have customized it, you may want to edit this page and after (:input e_minorcheckbox:) remove the text "$[This is a minor edit]". $EnableSortable, and $EnableSimpleTableRowspan are now enabled by default. To disable them, set them to 0 in config.php. A new page variable {$GroupHomePageUrl} contains the URL of the group homepage. Minor improvements to the pmwiki-responsive skin, to PmSyntax, to in-page anchor tags, and the documentation was updated. Full change log. |
PmWiki 2.3.36 Aug 7, 2024 |
This version introduces a drag-and-drop feature for uploads, which can be enabled using $EnableUploadDrop. The new $TROEPatterns array allows configuration of replace-on-edit patterns when a template is loaded onto an empty page. When a page is deleted, a history entry will now be recorded, capturing the date and time, user, and change summary. The release also includes a fix for PHP 8 and updated documentation. |
PmWiki 2.2.128 Apr 27, 2020 | This version only includes some cosmetic changes and updates the documentation. |
PmWiki 2.2.127 May 15, 2015 | This version fixes a bug with $PmTOC['MinNumber'] set to -1, and updates the .htaccess format for caches.php. The documentation was updated. |
PmWiki 2.2.75 May 15, 2015 |
This version adds a pmcrypt($pass, $salt) function which can be used as a replacement for the PHP crypt() function when encrypting passwords. From PHP 5.6 on, crypt() should not be used without a $salt parameter and would raise a notice. If pmcrypt() is called with a $salt parameter it will simply call crypt() in order to check a password. If it is called without a $salt parameter, pmcrypt() will create a password hash with the password_hash() function or with crypt() depending on your installation. You can replace any calls to crypt() with pmcrypt(), notably in config.php when defining $DefaultPasswords entries. Markup was added for the semantic HTML5 tags article, section, nav, header, footer, aside, address. |