Release Notes

This wiki page contains last minute notes to users about the releases, which may not be included in the documentation or README files included with the distribution package. It also contains change information, for users who are interested in what bugs have been fixed, and what features have been added in the current version. (ChangeLog)



1. R6.1

(04.09.2021) 6a9f5d6 -> M0 (Change Log)



This is a major release.
The 6.1 release serves mainly two purposes: Implement new PHP 8 functionality and improve GUI usability.


PHP 8

1.1. Notable in this release

  1. adds new PHP 8 functionality and compatibility
  2. ... (upcoming)

milestones

  • stable – 04.09.2021

1.2. Download


wacko.6.1.0.zip

  • SHA1: 60b8014cb4980832d2c982287cb31d2ed0d796d1
  • File updated to change set 6a9f5d6736c94d8d3ecc0e16fe3a4ff97fa70152

Repo files (including community folder)


Clone repo (see Repository)

git clone -b 6.1.0 https://github.com/WackoWiki/wackowiki.git

1.3. Upgrade path

R6.0 –> R6.1 (requires PHP >= 8.0)

  • requires at least WackoWiki 6.0.22

Please read the upgrade notices carefully.

1.4. Installation

Installation guide

1.4.1. Requirements

requires now

  • PHP 8.0 – 8.1 (PHP 8.0 recommended)
  • PHP Extensions
    • bcmath, ctype, gd, iconv, intl, json, mbstring, openssl, pcre, spl 
  • Apache >= 2.4
    • mod_rewrite (recommended)
  • SQL database system, one of:
    • MariaDB >= 10.2
    • MySQL >= 5.7

Step by step as Installer Screenshots.


Preparing the Database for Installation

CREATE DATABASE db_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;


1.4.2. File Permissions

Change the permissions on the following directories to be writable
touch config/config.php
chmod 666 config/config.php


Example:
chmod 0755 _cache/config/ _cache/feed/ _cache/page/ _cache/query/ _cache/session/ _cache/template/ file/backup/ file/global/ file/perpage/ file/thumb/ xml/


chmod 0660 config/lock config/lock_ap


reset after installation / upgrade
chmod 644 config/config.php

1.4.3. Path for session values

Check if the provided path for CACHE_SESSION_DIR is correct. The default value is /tmp but may vary in your environment.
Furthermore you may want to change this to a custom folder for the application (e.g. _cache/session) .


constants.php:

const CACHE_SESSION_DIR				= '/tmp');

1.4.4. RewriteBase

If your webserver's URLs are not directly related to physical file paths, you will need to use RewriteBase in every .htaccess file where you want to use RewriteRule directives.

RewriteBase /folder/

1.4.5. New config settings

Please check the Change Log for more details.

1.5. Admin panel

  • to login define the recovery_password in the config.php file first
    1. call the {{admin_recovery}} action as Admin and generate the password hash for your recovery_password
    2. add the password hash: 'recovery_password' => 'add hash here',
  • Don't forget to delete the _cache/config/config.php afterwards.
  • you must be logged in as member of the Admin group in the first place to access the admin panel
  • call yourwiki/admin.php
  • enter your recovery_password

If your Admin panel gets locked reset config/lock_ap from 1 to 0

1.6. Themes


If you want to keep your layout, you have to use a program like Meld or WinMerge to merge your CSS and other theme files with the new files in the folder wacko/theme/default.


You can write or adapt your theme also without using the template engine.


-> Themes
-> Theme guide with example templates

1.7. Extensions

1.8. Backwards Compatibility

We dropped compatibility code for older PHP and MySQL versions. R6.1 requires at least PHP 8.0 and MySQL 5.7. To use WackoWiki with older PHP or MySQL versions, use the older branch of 6.0.x releases, which you can find on the download page.

1.9. Known Issues

All known issues are tracked in our Bug Tracker.

  1. Session duration issue – FIXED partially
  2. Missing route cases (needs fix)
    1. CSS files in RECOVERY mode

1.10. Developers

1.10.1. Debug functions

  1. to write a parameter in the debug log 
    • Ut::dbg('debug_variable', $parameter);
  2. add debug output to DEBUG file and popup-window in browser
    • Diag::dbg($parameter);
    • to highlight the debug output in the console add '[BLUE|GOLD|ORANGE|RED]' as the first argument
      • e.g. Diag::dbg('GOLD', $parameter);

In both cases it writes the $parameter to the log in the main directory wacko/DEBUG when the config debug is enabled.
Be aware the log isn't emptied automatically. Ensure that the file wacko/DEBUG can be created and is writable.

touch DEBUG
chmod 0664 DEBUG

1.11. Documentation

1.12. What's Planned

WackoWiki is pretty usable now. There are of course few peculiarities and bugs, some old ones and some new ones which are waiting to be fixed. Now the main task is to make the Wiki engine better and reduce bugs.


Apart from that following features are planned to be implemented:

  1. extended ACLs
  2. WackoFormatter rewrite
  3. responsive device-agnostic theme
  4. improve GUI usability
  5. filter for lists
  6. faceted search
  7. archive table
  8. guest settings

1.13. Contribute

Those interested in following and contributing to the development of WackoWiki can check out the repository, and participate in the discussions on the WackoWiki Development and contribute patches. Policies and the current state of the project and plans are available in the Dev section of the wiki.


1.14. Feedback

Leave a comment here

if something is not clear or you have further questions.

1.15. Credits


  • Elar9000 — developer, translation, support
  • EoNy — translation, documentation, screenshots, support


2. R6.0

(04.09.2021) 8f62248 -> M23 (Change Log)



This is a major release.
The 6.0 release serves mainly two purposes: Migration to Unicode and PHP 8.0 compatibility.


Unicode

2.1. Notable in this release

  1. UTF-8 support
    • यूनिकोड, Юникод, ইউনিক’ড, 유니코드
  2. accent and case-sensitive page tag 
  3. implemented full support for relative path
  4. new info, chat and details formatter along with new wrapper options
  5. complete PHP 8.0 compatibility

milestones

  • stable – 15.12.2019
  • m23 – 04.09.2021

2.2. Download


wacko.6.0.23.zip

  • SHA1: 8510dcf36e96f957dee2c45f8a4c33bb64046bea
  • File updated to change set 953f099d5fd84f73bb7901f53c1d07802e39ec04

Repo files (including community folder)


Clone repo (see Repository)

git clone -b 6.0.23 https://github.com/WackoWiki/wackowiki.git

2.3. Upgrade path

R5.x –> R5.5 (requires PHP 7.0 – 7.4)
R5.5 –> R6.0 (requires PHP >= 7.3)


Please read the upgrade notices carefully.


{{admin_utf8}}database UTF-8 conversion script

2.4. Installation

Installation guide

2.4.1. Requirements

requires now

  • PHP 7.3 – 8.0 (PHP 7.4 recommended)
  • PHP Extensions
    • bcmath, ctype, gd, iconv, intl, json, mbstring, openssl, pcre, spl 
  • Apache >= 2.4
    • mod_rewrite (recommended)
  • SQL database system, one of:
    • MariaDB >= 10.2
    • MySQL >= 5.7

Step by step as Installer Screenshots.


Preparing the Database for Installation

CREATE DATABASE db_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;


2.4.2. File Permissions

Change the permissions on the following directories to be writable
touch config/config.php
chmod 666 config/config.php


Example:
chmod 0755 _cache/config/ _cache/feed/ _cache/page/ _cache/query/ _cache/session/ _cache/template/ file/backup/ file/global/ file/perpage/ file/thumb/ xml/


chmod 0660 config/lock config/lock_ap sitemap.xml


reset after installation / upgrade
chmod 644 config/config.php

2.4.3. Path for session values

Check if the provided path for CACHE_SESSION_DIR is correct. The default value is /tmp but may vary in your environment.
Furthermore you may want to change this to a custom folder for the application (e.g. _cache/session) .


constants.php:

const CACHE_SESSION_DIR				= '/tmp');

2.4.4. RewriteBase

If your webserver's URLs are not directly related to physical file paths, you will need to use RewriteBase in every .htaccess file where you want to use RewriteRule directives.

RewriteBase /folder/

2.5. Admin panel

  • to login define the recovery_password in the config.php file first
    1. call the {{admin_recovery}} action as Admin and generate the password hash for your recovery_password
    2. add the password hash: 'recovery_password' => 'add hash here',
  • Don't forget to delete the _cache/config/config.php afterwards.
  • you must be logged in as member of the Admin group in the first place to access the admin panel
  • call yourwiki/admin.php
  • enter your recovery_password

If your Admin panel gets locked reset config/lock_ap from 1 to 0

2.6. Themes


If you want to keep your layout, you have to use a program like Meld or WinMerge to merge your CSS and other theme files with the new files in the folder wacko/theme/default.


You can write or adapt your theme also without using the template engine.


-> Themes
-> Theme guide with example templates

2.7. Extensions

2.8. Backwards Compatibility

We dropped compatibility code for older PHP and MySQL versions. R6.0 requires at least PHP 7.3 and MySQL 5.7. To use WackoWiki with older PHP or MySQL versions, use the older branch of 5.5.x releases, which you can find on the download page.

2.9. Known Issues

All known issues are tracked in our Bug Tracker.

  1. Session duration issue – FIXED partially
  2. Missing route cases (needs fix)
    1. CSS files in RECOVERY mode

2.10. Developers

Ensure that the function or filter you use supports Unicode when you need to process Unicode strings. Missing Unicode support will be added as needed, please provided us with feedback.

2.10.1. Debug functions

  1. to write a parameter in the debug log 
    • Ut::dbg('debug_variable', $parameter);
  2. add debug output to DEBUG file and popup-window in browser
    • Diag::dbg($parameter);
    • to highlight the debug output in the console add '[BLUE|GOLD|ORANGE|RED]' as the first argument
      • e.g. Diag::dbg('GOLD', $parameter);

In both cases it writes the $parameter to the log in the main directory wacko/DEBUG when the config debug is enabled.
Be aware the log isn't emptied automatically. Ensure that the file wacko/DEBUG can be created and is writable.

touch DEBUG
chmod 0664 DEBUG

2.11. Documentation

2.12. Contribute

Those interested in following and contributing to the development of WackoWiki can check out the repository, and participate in the discussions on the WackoWiki Development and contribute patches. Policies and the current state of the project and plans are available in the Dev section of the wiki.


2.13. Credits


  • RideSnowNow — developer, translation
  • 王彥傑 (Yan-Jie Wang) – initial Unicode fork
  • Raysir — testing, translation
  • Elar9000 — developer, translation, support
  • EoNy — translation, documentation, screenshots, support
  • KlePy — Spanish translation
  • Abram4 — Russian translation, testing
  • bear – testing
  • ascrsoft — Spanish translation, testing


3. R5.5

(31.12.2019) b4095e3 -> M17 (Change Log)



This is a major release and a security update for the stable 5.x branch.
In addition to miscellaneous fixes the 5.5 release serves mainly three purposes: Migration to HTML5, address security related features and PHP 7.0/7.4 compatibility.


mammut mascot

3.1. Notable in this release

  1. complete PHP 7.0/7.4 compatibility
  2. HTML5 support
  3. major refactoring of init system
  4. new session handler
  5. new URI router
  6. new template engine
  7. added php-diff rendering methods
  8. replaced all icons with SVG icons
  9. implemented auth and form token
  10. added support for audio, video and SVG files
  11. moved page title (H1) from theme header to show handler
  12. added Bad Behaviour as extension
  13. public registration moderation by admin
  14. using password_hash() and password_verify() API 
  15. file link tracking
  16. improved notification handling
  17. localized WikiEdit and Admin panel

milestones

  • beta – 14.12.15
  • rc – 18.04.16
  • rc2 – 12.08.16
  • rc3 – 05.06.17
  • final – 25.08.17
  • m17 – 31.12.19

3.2. Download

wacko.r5.5.17.zip

  • SHA1: b27118eff92927ef134bc3bbfb2eb517614f85ef
  • File updated to change set b4095e3bda506094d298e6b6a3c293eb3db0f9d6

Repo files (including community folder)


Clone repo

git clone -b 5.5.17 https://bitbucket.org/wackowiki/wackowiki.git

3.3. Upgrade path

R4.x –> R5.0 (requires PHP 5.2 / 5.3)
R5.x –> R5.5 (requires PHP >= 7.0)


Please read the upgrade notices carefully.

3.4. Installation

Installation guide

3.4.1. Requirements

requires now

  • PHP >= 7.0 (PHP 7.3 recommended)
  • PHP Extensions
    • bcmath, ctype, gd, iconv, json, mbstring, openssl, pcre, spl 
  • Apache >= 2.4
    • mod_rewrite (recommended)
  • SQL database system, one of:
    • MariaDB >= 10
    • MySQL >= 5.6

Step by step as Installer Screenshots.


Preparing the Database for Installation


Data base configuration: If the installer asks you for charset, select the appropriate character set, e.g.

  • [cp1252 West European] for Latin 1
  • [cp1251 Windows Cyrillic] for Russian
  • [cp1257 Windows Baltic] for Estonian
  • [ISO 8859-2 Central European] for Polish and Hungarian
  • [ISO 8859-7 Greek] for Greek

3.4.2. File Permissions

Change the permissions on the following directories to be writable
touch config/config.php
chmod 666 config/config.php


Example:
chmod 0755 _cache/config/ _cache/feed/ _cache/page/ _cache/query/ _cache/session/ _cache/template/ file/backup/ file/global/ file/perpage/ file/thumb/ xml/


chmod 0660 config/lock config/lock_ap sitemap.xml


reset after installation / upgrade
chmod 644 config/config.php

3.4.3. Path for session values

Check if the provided path for CACHE_SESSION_DIR is correct. The default value is /tmp but may vary in your environment.
Furthermore you may want to change this to a custom folder for the application (e.g. _cache/session) .


constants.php:

 define('CACHE_SESSION_DIR',		'/tmp');

3.4.4. RewriteBase

If your webserver's URLs are not directly related to physical file paths, you will need to use RewriteBase in every .htaccess file where you want to use RewriteRule directives.

RewriteBase /

RewriteBase /folder/

e.g. .htaccess

<IfModule mod_rewrite.c>
 RewriteEngine on

 RewriteBase /folder/

</IfModule>

3.4.5. Path to user and group profile

The path for link to the users page or profile ((user:UserName UserName)) is set in config['users_page'].


The path for link to the group page or profile ((group:GroupName GroupName)) is set in config['groups_page'].


3.4.6. New config settings


Please check the Change Log for more details.

3.4.7. Custom CSP settings

e.g. example for your custom CSP settings


csp_custom.conf

Content-Security-Policy:
	default-src 'self';
	script-src 'self' 'unsafe-inline';
	style-src 'self' 'unsafe-inline';
	img-src * data:;
	media-src 'self' archive.org *.youtube.com *.youtube-nocookie.com dailymotion.com;
	object-src 'self' archive.org *.googlevideo.com *.ytimg.com *.youtube.com *.youtube-nocookie.com dailymotion.com;
	child-src 'self' archive.org *.youtube.com *.youtube-nocookie.com *.dailymotion.com;

3.5. Admin Panel

The Admin panel remains in Beta stage.

  • to login define the recovery_password in the config.php file first
    1. call the {{admin_recovery}} action as Admin and generate the password hash for your recovery_password
    2. add the password hash: 'recovery_password' => 'add hash here',
  • Don't forget to delete the _cache/config/config.php afterwards.
  • you must be logged in as member of the Admin group in the first place to access the admin panel
  • call yourwiki/admin.php
  • enter your recovery_password

If your Admin panel gets locked reset config/lock_ap from 1 to 0

3.6. Themes

All themes other than default are outdated and unmaintained and were moved to the community/theme section. If you like to use one of them, please help to update this particular theme.


If you want to keep your layout, you have to use a program like Meld or WinMerge to merge your CSS and other theme files with the new files in the folder wacko/theme/default.


A Guide for the new template engine will hopefully follow soon. Nevertheless you can write or adapt your theme without using the template engine.

3.7. Extensions

3.8. Backwards Compatibility

We dropped compatibility code for older PHP and MySQL versions. R5.5 requires at least PHP 7.0 and MySQL 5.6. To use WackoWiki with older PHP or MySQL versions, use the older (but still maintained) branch of 5.4.x releases, which you can find on the download page.

3.9. Known Issues

All known issues are tracked in our Bug Tracker.

  1. Session duration issue
  2. Missing route cases (needs fix)
    1. CSS files in RECOVERY mode
  3. activate the option multilanguage in the installer / secondary config to avoid the following issues:
    1. chars from another charset are not converted to HTML unicode entities
    2. This issue will become obsolete with our upcoming Unicode ready Wiki engine.
  4. WikiEdit won't show if you use [et] or [pl] as page language with the auto complete feature -> SyntaxError: invalid range in character class
    1. Workaround: disable Autocomplete under user settings -> extended -> Complete wikilinks by Ctrl+Space

3.10. Developers

3.10.1. New debug functions

  1. to write a parameter in the debug log 
    • Ut::dbg('debug_variable', $parameter);
  2. add debug output to DEBUG file and popup-window in browser
    • Diag::dbg($parameter);
    • to highlight the debug output in the console add '[BLUE|GOLD|ORANGE|RED]' as the first argument
      • e.g. Diag::dbg('GOLD', $parameter);

In both cases it writes the $parameter to the log in the main directory wacko/DEBUG when the config debug is enabled.
Be aware the log isn't emptied automatically. Ensure that the file wacko/DEBUG can be created and is writable.

touch DEBUG
chmod 0664 DEBUG

3.10.2. Access config values

  • new: db->users_page
  • legacy: config['users_page']

3.10.3. HTTP functions

  • new 
    • http->redirect()
    • http->invalidate_page()

3.10.4. SQL functions

  • new 
    • db->sql_query()
    • db->load_all()
    • db->load_single()

3.11. Documentation

3.12. Contribute

Those interested in following and contributing to the development of WackoWiki can check out the hg repository, and participate in the discussions on the WackoWiki Development and contribute patches. Policies and the current state of the project and plans are available in the Dev section of the wiki.


3.13. Feedback

Leave a comment here

if something is not clear or you have further questions.

3.14. Credits

Of note, is the large contribution of Serge Terekhov to this release.