 Version 2.5.8 (2026-03-09)

    Fix warning for undefined $_SERVER['REMOTE_ADDR'] in CLI mode.
    Add $EnableEscapedUrlEmbed.
    Optimize the initial loading of Light or Dark theme stylesheets and pictures.
    Update documentation. 
	
 Version 2.5.7 (2026-03-08)

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. 

 Version 2.5.6 (2026-02-08)

    Datashift report if shifted element contains target.
    Add $WikiStyleApply["h"] for h1-h6 headings.
    Add configurable $UrlGetFunction, used in RecipeCheck and BlockList.
    Reveal or hide Table of contents when printing. Add $PmTOC['Closed'] to initially collapse the TOC.
    UrlApprovals show message if there are no pending links in the current page, add links to approve included and transcluded pages.
    PSFT() fix bug with %o.
    Refactor mkdirpdeny().
    Disable sortable tables if cells have rowspan or colspan, this never worked reliably. 

    Update documentation. 
	
 Version 2.5.5 (2026-01-10)

    PmSyntax config without page variable, optimize rendering, stopwatch.
    Input datalist minor refactor. Simple datalists now added to $HTMLFooterFmt rather than after the element.
    Sortable headers if right-aligned, place the arrow to the left; fix clear arrows for sortable-footer.
    Enable Shift+click to check multiple adjacent checkboxes.
    Update for PHP 8.
    Disable core $HTMLStylesFmt that are already loaded from pub/lib/pmwiki-core.css.
    Update for PHP 8.5 (PITS:01531).
    PmTOC add tooltip title to back arrow links, minor refactor. Add $PmTOC['MinNumberedHeadings'], default 2.
    Add markup !!#id Heading to define the id attributes of headings.
    With $EnableMergeLastMinorEdit, checking the Minor edit checkbox will pre-fill the change summary field with the previous summary. Refactor MergeLastMinorEdit() to configure $InputTags['e_minorcheckbox'].
    PmLib add average(array), refactor draggable, dispatched events will now bubble by default, refactor core utilities.
    EnableNotSavedWarning moved to pmwiki-utils.js and can be used by custom forms.
    Notify fix tz= could modify subsequent recipients (PITS:01536).
    Refactor TextSection, add $TextSectionAnchorPatterns.
    Dark theme: slightly darker simpletable backgrounds.
    Refactor Dropzone, add directive (:dropzone uploadpage=Group.Name:).
    RecipeCheck to handle fopen gracefully (PITS:01538).
    UrlApprovals add confirmation page with preview before approving URLs.
    Input select allow to configure custom attributes.
    Update documentation. 