Change Log Feed

In chronological order, the change log of the last 10 releases.

XML

Feed Title: Release notes from wackowiki


6.3.1

Minor feature and bug fix release for 6.3.x series

  • replace jpeg_quality option with image_quality
    • off - No quality applied; each codec's own default
    • max - Maximum quality each codec offers
    • high - Visually near-lossless
    • medium - Good quality; typical for web delivery
    • low - Aggressive compression; small files
  • fix missing file entries in whatsnew action
  • filemeta: base file access check on the file's own page
  • fix SQLite FTS5 syntax error on special characters in search
  • allows now toc action in comments
  • rename option dark_mode to color_scheme
  • show_access_mode: show permissions link only for page owners
  • Formatter
    • fix missing page handler in wiki links ((Page/_source …))
    • support text fragments in wiki links (WikiPage#:~:text=from,to)
    • fix interwiki links with percent encoding and text fragments
    • fix Formatter URL handling for trailing punctuation and invalid hosts
    • fix unescaped link text in footnote and anchor links
    • fix table cells broken by auto footnotes
    • fix double-encoding of quotes in link() text and title
  • installer:
    • prevent orphan menu records when page_id is missing
    • prevent double-escaping of JSON-encoded toolbar config in installer
  • Translations
    • update Estonian
  • Libs

Security advisory

  • GHSA-3m55-jc3h-qwg9 — improper access control in the file metadata handler.
    All affected installations should upgrade.

Full Changelog: 6.3.0...6.3.1

6.3.0

WackoWiki 6.3.0 — Major Feature Release

This release represents a architectural overhaul, bringing modern JavaScript tooling, a completely rewritten editor experience, hardened security defaults, and a flexible new syntax highlighter.


Headline Features

WikiEdit: Complete Rewrite (ES2023 + ES Modules)

The editor has been modularized into ES6 modules with a dedicated state management layer and a AbortController for all fetch calls.

Feature Description
Autosave Never lose drafts again; automatic background persistence.
Full Undo/Redo Stack Deep history management across sessions.
Search & Replace Full regex-supported find/replace inside the editor.
Live Preview Real-time rendering as you type.
Syntax Highlighting Code blocks highlighted inside the editor.
Fullscreen / Zen Mode Distraction-free writing (widescreen centered).
Drag & Drop + Paste Images Upload assets directly into the edit buffer.
Markdown ↔ Wacko Converter Seamless format switching via toolbar.
Popup Forms Guided modals for complex Links and Tables.
Toolbar Customization Add/remove/reorder buttons via config.
Resizable Editor Drag handle to adjust height.

Dev Note: Complex legacy helpers (MarkUp, _LSum, _RSum, _TSum) have been refactored. Autocomplete selection bugs are fixed.


Security & Platform Hardening

  • Content Security Policy (CSP) Nonces: All inline scripts now use strict nonces.
  • Cookie Prefixes (RFC 6265bis): __Host- and __Secure- prefixes applied for session integrity.
  • Native Clipboard API: Removed Clipboard.js dependency; uses modern navigator.clipboard with robust fallback.
  • Fixed Invalid Selector Tokens: Patched potential broken "Copy to Clipboard" handlers.

Core Architecture & Routing

Change Impact
Virtual _ Handler Prefix Handlers moved to page/_edit, page/_show, etc.
Fixes namespace collisions where user pages named Something/edit clashed with core handlers.
Composer vendor Folder All external PHP libraries moved out of lib/ into vendor/ (managed via Composer).
Config Array Upgrade Configuration updates now respect $wacko_config_defaults live, ignoring potentially stale cache.
TOC Generation Fix $this->toc logic repaired for newly created pages.

UI & Theming

  • Dark Mode: First-class support with OS detection (prefers-color-scheme) and manual toggle.
  • Double-Click Edit Comments: Rapid inline editing for comment sections.

Syntax & Markup Extensions

Phiki Highlighter (v2.2.0)

Replaces the legacy Pear highlighter. Fast, modern, supports 350+ languages via TextMate grammars.

Migration Required: Obsolete highlighters removed (css, ini, html, java, pascal, sql).
Action: Run the admin_replace action to auto-migrate:

%%(css)   →  %%(hl css) %%(sql)   →  %%(hl sql) ... etc 

Table Markup Improvements

New attribute system for rows, cells, and tables.

New Syntax:

!| col | col |!            # Header row with attributes #|(attr=value)             # Row attributes 

Supported Attributes:

Attribute Values Scope
span number Cell/Colspan
side top | bottom Header/Foot position
class alternate, sticky, default[left|center|right...], colN[left|right...], col-N[left|right...] Styling hooks

CSS Selectors Added:

  • .alternate — Zebra striping
  • .sticky — Fixed header on scroll
  • .default[left|center|right|top|middle|bottom] — Global cell alignment
  • .colN[...] — Column N alignment (1–25)
  • .col-N[...] — Column N from right alignment (1–9)

Helper Functions

  • New table_attr() parser for the extended markup.
  • Wrapper page now accepts col option.

Internationalization (i18n)

New complete translations added:

  • 🇭🇷 Croatian (hr)
  • 🇹🇭 Thai (th)
  • 🇹🇷 Turkish (tr)
  • 🇻🇳 Vietnamese (vi)

Dependency Updates

Library Version Status
Phiki 2.2.1 New (Replaces Pear)
Legacy Highlighters — Removed

Upgrade Guide

  1. Run Composer: composer install --no-dev (populates vendor/).
  2. Run Migrations: Execute the installer script.
  3. Migrate Highlighters: Run the admin_replace action to convert %%(lang) → %%(hl lang).
  4. Check Routes: If you have custom handlers or pages named edit, show, properties, etc., verify they resolve correctly under the new page/_* namespace.
  5. Clear Cache: Delete cache/config/ and cache/template/ (or run admincache action).
  6. Test CSP: Verify your web server passes the Content-Security-Policy header with nonces.

Credits

Huge thanks to contributors for the Phiki integration, the translation teams for HR/TH/TR/VI, and everyone testing the WikiEdit rewrite.


Full Changelog: 6.2.1...6.3.0
Documentation: wackowiki.org

6.2.1

Minor feature and bug fix release for 6.2.x series

  • extend table markup allowing table caption, cell spans, width and cell attributes
    • ?| table caption |?
    • ^| header | cell ||
    • || cell ^ header ||
    • ||(attr=value) cell | cell ||
    • attributes:
      • align = [center|left|right|justify]
      • bgcolor = [blue|red|green|x11colors]
      • colspan = number
      • id = id_name
      • rowspan = number
      • scope = [row|col|rowgroup|colgroup]
      • valign = [top|middle|bottom]
      • width = number[px|%|em|rem]
  • allows now [px|%|em|rem] with wrapper_width
  • change markup syntax for subscript to ,,subscript,,
  • make sess->date_pattern dependent on $this->user_lang
  • x11colors.css
    • replace .mark-[blue|green|red] with [xblue|xgreen|xred] to not overwrite default definitions in wacko.css
  • miscellaneous minor fixes
  • Libs
    • PHPMailer 7.0.2

Full Changelog: 6.2.0...6.2.1

6.2.0

Major feature release

  • SQLite support
    • add DbSqlite class
    • add backup & restore in admin panel for SQLite
    • rewrote SQL queries to work with MySQL as well as SQLite
    • register custom regexp function to use REGEXP with SQLite
    • add functions to abstract SQL syntax and function differences between MySQL and SQLite
      • utc_dt()
      • date_sub(int $value, string $interval)
      • binary()
      • collate()
      • limit()
  • fix missing route case for CSS files in RECOVERY_MODE
  • validates the namespace to prevent users from creating inaccessible pages when mode_rewrite is enabled
  • add binary string search action (see community folder)
    • adds exact or regex search for registered users
  • installer
    • add SQLite table creation script
    • add _t() function for $lang[] array
      • installer uses now English as fallback for missing message sets
    • add mandatory installer password protection
      • It is imperative to set the password for the installer in the config/lock_setup file.
    • add new system page with whatsnew action
    • add private system page with with the admincache and admin_recovery action and set it as bookmark for the admin
    • the installer sets now bookmarks for the admin account, therefore it no longer shows the default bookmarks for the admin in the menu by default
  • actions
    • menu: fix not showing 'Set a bookmark' form
    • whatsnew:
      • add filter for pages, comments and files
      • show also edited comments in list
    • no longer use link table for mostcommented and mostpopular action
  • miscellaneous minor fixes
  • WikiEdit
    • replace var with const and let
  • update libs
    • php-diff 2.5.0
    • PHPMailer 7.0.1
    • PHP Thumb Library 2.3.3
    • SimplePie 1.9.0

Full Changelog: 6.1.29...6.2.0

6.1.25

Minor feature and bug fix release for 6.1.x series

  • removed deprecated Pragma: no-cache and Expires: header
  • fixes If-Modified-Since conditional requests issues
  • fixes invalid ETag
  • fixes various Cache-Control header issues
  • fixes missing height width value for external img links
  • adds option to transliterate filenames to lowercase
  • adds navigation action
  • adds option to set the SameSite attribute , see constants.php
  • adds option login_notice to hide recurring 'Welcome back' notice
  • adds full words highlight mode
  • miscellaneous minor fixes
  • update libs
    • PHPMailer 6.9.1
    • svg sanitizer 0.18

Full Changelog: 6.1.24...6.1.25


XML

Feed Title: Recent Commits to wackowiki:master


feat(editor): implement new new code syntax rules in markup helpers

feat(editor): implement new new code syntax rules in markup helpers Add dedicated markup helpers for the new code syntax so the WikiEdit toolbar applies and removes the extended delimiters correctly. - insCode() wraps the selection in an inline code span (##…##). The delimiter is a maximal run of '#' (N >= 2) that is longer than any '#' run inside the content, so '## code ##' becomes '### ## code ## ###'. - insCodeBlock() wraps the selection in a code block (%%…%%). The fence length is the delimiter and must be longer than every '%' run inside the content; fences longer than BASE_LENGTH are placed alone on their line. The old fixed-length unset no longer works with the extended delimiters, so removal is now derived from the document: the actual delimiters are detected with the same scanner rules as the highlighter and the syntax converter (maximal run, exact length closer, own escape, k+1 nesting) and are removed on the second click. This makes '###', '%%%' and longer delimiters removable as well. Code content is now literal for all other markup operations: MarkUp(), unindent() and insBlockWrapper() skip lines that belong to an inline code span or a code block, so no HTML, links, actions or typography are applied inside code. The 'code' and 'source' toolbar buttons now call insCode() and insCodeBlock() instead of insTag()/insBlockWrapper().

Render local images as link labels

Render local images as link labels Render `file:` paths inside links with the existing file handler, matching the behavior of remote image URLs. This supports both global and page-local files while preserving link targets, sizing, alignment, and access checks. Missing files remain visible as literal `file:` text. ((/PageName file:image.png)) ((//PageName file:image.png?300&right))

feat(editor): align markup conversion with the new formatter rules

feat(editor): align markup conversion with the new formatter rules Update the Markdown <-> WackoWiki converter so it reflects the current WackoWiki formatter semantics. Inline code: - The delimiter is a maximal run of '#' (N >= 2) and the closing run must be a maximal run of exactly N characters. Runs with fewer '#' are ordinary content. - A code span never crosses a line break. - The content of a span is no longer parsed as wiki markup: no links, no actions, no typography. It is copied verbatim into the Markdown code span and the Wacko delimiter is extended when the content contains a '#' run ('##' inside a span becomes '### ## ###'). Code blocks: - The fence length is the delimiter: a block is closed by a run of exactly the same length, runs of any other length are ordinary content (own escape rule). - A top level block is opened by a run of at least BASE_LENGTH characters; runs longer than BASE_LENGTH must be alone on their line so ordinary text can neither open nor close a block. - The nested block rule (k+1) is unchanged. - Backticks are supported as an alternative block fence to '%%' with identical behaviour. - The highlight options of the opening fence ((hl css wrapper=shade)) are reduced to the language; 'wrapper=...' has no Markdown equivalent and is dropped. Conversion details: - Protected regions (table, code block, inline code, literal text) are now extracted in source order, so the region that starts first wins ('""##x##""' stays literal, '##""x""##' is an inline code span). - Markdown fences are only recognised at the start of a line, as in CommonMark; a fence inside a line is an inline code span. - The Wacko fence of a converted Markdown block is extended when the content contains a '%' run, so a '%%' inside the code stays content. - The Markdown code span delimiter is extended when the content contains a backtick run.