6.0 Release Notes

R6.0

(10.03.2023) a31bc75 -> M37 (Change Log)



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


Unicode

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
  • m37 - 10.03.2023

2. Download


wackowiki-6.0.37.zip

  • File updated to change set a31bc75a22e98d32ceb40f9a4cc7af475858b51

Repo files (including community folder)


Clone repo (see Repository)

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

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

4. Installation

Installation guide

4.1. Requirements

requires now

  • PHP 7.3 - 8.0 (PHP 8.0 recommended)
  • PHP Extensions
    • bcmath, ctype, gd, iconv, intl, json, mbstring, openssl, pcre, spl
  • Apache >= 2.4 / Nginx
    • 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;	

4.2. File Permissions

Change the permissions on the following files and directories to be writable


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


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

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';	

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

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

7. 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.

8. Known Issues

All known issues are tracked in our Bug Tracker.

  1. MySQL 8: Remove the NO_AUTO_CREATE_USER in your constants.php, e.g.
     const SQL_MODE_PERMISSIVE			= 'NO_ENGINE_SUBSTITUTION';	

    Otherwise it will throw a Fatal error: Uncaught mysqli_sql_exception: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER' in /setup/install-database.php:180
  2. Session duration issue - FIXED partially
  3. WikiEdit Autocomplete selection ain't working (help needed)
  4. Missing route cases (needs fix)
    1. CSS files in RECOVERY mode

9. Credits