WackoWiki: 6.1 Release Notes

https://wackowiki.org/doc     Version: 253 (02.12.2024 09:17)

6.1 Release Notes

R6.1

(05.10.2024) a401705[link1] -> M26 (Change Log[link2])



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. Notable in this release

  1. new PHP 8 functionality and compatibility
  2. RTL theme support
  3. complete Chinese Simplified translation
  4. section edit support
  5. thumbnail creation
  6. global string find-and-replace action

milestones

2. Download

wackowiki-6.1.26.zip[link4]

Repo files (including community[link5] folder)


Clone repo (see Repository[link9])
git clone -b 6.1.26 https://github.com/WackoWiki/wackowiki.git	

3. Upgrade path

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

Please read the upgrade notices[link10] carefully.

4. Installation

Installation guide[link11]

4.1. Requirements

requires now[link12]

Step by step as Installer Screenshots[link13].

Preparing the Database for Installation
CREATE DATABASE db_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;	


4.2. File Permissions

Change the permissions[link14] on the following files and directories to be writable.

Example:
touch config/config.php
chmod 666 config/config.php config/lock config/lock_ap	

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


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

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 can change this folder to a custom folder[link15] for the application (e.g. _cache/session).

constants.php:
const CACHE_SESSION_DIR				= '/tmp';	

4.4. RewriteBase

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

4.5. New config settings

Please check the Change Log[link2] for more details.

5. Admin panel[link3]


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

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[link18].

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

-> Themes[link20]
-> Theme guide with example templates[link21]

7. Extensions

Action

Formatter

8. Backwards Compatibility

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

9. Known Issues

All known issues[link31] are tracked in our Bug Tracker.[link32]
  1. ngram Full-Text Parser[link33], used to support Chinese, Japanese, Korean word segmentation is currently only available for MySQL.
  2. Session duration issue[link34] - FIXED partially
  3. WikiEdit Autocomplete selection ain't working (Help needed, can someone fix it?)
  4. Missing route cases (needs fix)
    1. CSS files in RECOVERY mode

10. Developers

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 src/DEBUG when the config debug is enabled.
Be aware the log isn't emptied automatically. Ensure that the file src/DEBUG can be created and is writable.
touch DEBUG
chmod 0664 DEBUG	

11. Documentation

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[link31].

Apart from that following features are planned to be implemented[link35]:
  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

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[link36] of the wiki.

14. Feedback

Leave a comment here if something is not clear or you have further questions.

15. Credits