| Version | Change log |
| PmWiki 2.5.8 Mar 9, 2026 | This version adds a new variable $EnableEscapedUrlEmbed. Between 2.2.123 and 2.5.7, there was an unintentional bug (or feature if you used it) where linking to a picture with an escaped filename (because it contains spaces or special characters) behaved inconsistently from a picture without special characters; and a link to a picture without special characters would behave differently if it had escaped text or not. |
| PmWiki 2.5.7 Mar 8, 2026 |
This version includes updates for PHP8, some bug fixes, and optimizations. A new variable $IsLocalhost will be true when the wiki server is on the same computer as the browser, this can simplify configuration for mirrored wikis. The PmLib JavaScript helper library was refactored for easier usage. With tables, if the first and last rows have only header cells, they will be moved to <thead> or <thoot> elements. This helps with styling, sorting, filtering, and printing. The Sortable tables function was rewritten, it now supports complex headers and footers with rowspan and colspan, and a new way to define column sort types (numeric, alphabetical, date, or no sorting). A CSS class "center" was added, and link colors in the %note% style will inherit the note color. The documentation was updated. |
| PmWiki 2.5.6 Feb 9, 2026 |
This version includes improvements to the Table of contents. A new option $PmTOC['Closed'] can be enabled to initially collapse the TOC. When printing, an open TOC will be shown full height, and a closed one will be fully hidden. A new wikistyle "apply=h" keyword was added as in %h ...styles% that applies to any level of heading h1-h6 on the same line. Previously we needed to use %block ...styles%. A new variable $UrlGetFunction allows to configure a custom function to retrieve remote content. Currently the features RecipeCheck and BlockList use this function, by default it is file_get_contents(). UrlApprovals will now show a message if there are no pending links in the current page, and will list and link to included and transcluded pages like headers or footers. Sortable tables never worked reliably for tables with cells spanning multiple rows or columns, such tables are now not processed. Minor improvements or bug fixes with Datashift, the %o time format, the mkdirpdeny() helper function, and the documentation was updated. |
| PmWiki 2.5.5 Jan 11, 2026 |
New markup !!#id Heading allows to define id attributes of headings or page sections. These can be referenced in links to the heading, and it is possible to include page sections based on these identifiers, similar to [[#anchor]]. Before or after upgrading to 2.5.5, you may want to search your wiki for "!#" in case there are matches on your pages, and if needed, insert a space before the "#" characters. Improvements to Forms features. The edit form with $EnableMergeLastMinorEdit, checking the "Minor edit" checkbox will pre-fill the change summary field with the previous summary. It is now possible to define custom attributes to the options of a "select" field. The Not-Saved-Warning feature is now available to custom forms with the attribute (:input form data-confirmunload=1:); if such form has changes, and the user tries to leave the page without saving the changes, the browser will ask for confirmation. Improvements to the core JavaScript utilities and the PmLib library. Optimizations for PmSyntax for long or complex texts. Sortable tables will show the arrows to the left if the header cell is right-aligned. It is now possible to Shift+click to check or uncheck multiple checkboxes. Table of contents will show a tooltip to the back-to-contents link, and will no longer number a single heading. Core styles defined in $HTMLStylesFmt are already in pub/lib/pmwiki-core.css, now the duplicates have been removed from the scripts. This makes it easier to redefine them by skins and local styles, and is a step toward a stricter Content-Security-Policy. The dark theme now has slightly darker backgrounds to the "simpletable" tables. A new markup (:dropzone uploadpage=Group.Name:) allows to include an area where editors can drop files for upload, without opening the page for editing or uploading. It is possible to have multiple such zones in a page that upload files to different pages or groups. Url approvals have a new confirmat |
| PmWiki 2.5.3 Nov 8, 2025 |
This version includes updates for recent PHP versions and optimizations for the dark theme. It fixes a bug with custom actions not loading a skin, and a bug with ?action=crypt for CleanUrls. The PmLib JavaScript library has some new helper functions, and the local storage functions can store and retrieve objects, arrays, or numbers in addition to strings (no need to stringify and parse stored data). The documentation was updated. |
| PmWiki 2.4.6 Jun 15, 2025 |
This release includes updates for recent PHP versions, adds helper functions and variables handling custom actions, controlling the history output format, mass-updating page metadata, moving elements on page load, and incrementing input elements with the mouse wheel. A new variable $EnableRelativeAttachLinks, if set to 1, should rewrite Attach: links in included page sections, so that the links stay relative to the original page. The PmMultipartMail() function can now embed Attach: pictures. The documentation was updated. |
| PmWiki 2.4.4 Apr 21, 2025 |
This version disables upload extensions ai, ps, and eps, which may introduce vulnerabilities when processed by Ghostscript. To re-enable any of these, add it to your config.php override. Numbered headers in the table of contents now have dedicated class names, making them easier to style with CSS. The edit text area has been updated to behave more consistently across browsers; if both autofocus and scroll restoration are enabled, it will now ignore the latter to avoid conflicts. A new variable, $FmtV['$LinkRel'], allows admins to set the rel attribute for external links, for example: $FmtV['$LinkRel'] = 'noreferrer nofollow';. The Notify feature has been expanded with new configuration options. A new core script, scripts/tools.php, has been added. It provides helper functions for tasks like creating multipart emails with rich text and attachments, verifying multi-factor authentication codes, and encrypting/decrypting strings. This script is not loaded by default: addons that need it must include it explicitly. Finally, a new variable $CookbookDir has been introduced (default: "$FarmD/cookbook"), making it easier to relocate the cookbook directory outside of the core distribution if needed. The documentation was updated. |
| PmWiki 2.4.3 Mar 16, 2025 |
This version adds class names to heading numbers to allow for custom styling. A Notify bug was fixed with duplicate notifications when UpdatePage() was called by addons. The documentation was updated. |
| PmWiki 2.4.2 Jan 31, 2025 | This version fixes an intermittent bug with the dark theme toggle, updates the core JavaScript library, and the documentation was updated. |
| PmWiki 2.4.1 Jan 27, 2025 | This version includes a bug fix for $EnableUploadDrop, updates for recent PHP versions, and the documentation was updated. |