R5.4 Release Notes

1. R5.4

(12.07.2014) Revision:2389 -> M3 (Change Log)

This is a minor release.
In addition to miscellaneous fixes the 5.4 release serves mainly one purposes: PHP 5.4 / 5.5 compatibility.

For major changes please read the Release Notes of R5.0.

Notable in this release:


  • final – 17.04.14
  • maintenance3 – 12.07.14

1.1. Download


  • SHA1: f772e1ff54727d5f17664edd07d44f6f92bdf7a9 [File updated to change set 2389 – 2f0328d2679d]

Repo files

Clone repo

hg clone https://bitbucket.org/wackowiki/wackowiki-stable -r 5.4.3

1.2. Translations

  • Call for Localization
    • If you can help with languages other than English and German, it would be appreciated.

1.3. Upgrade path

R4.x -> R5.0 (requires PHP >= 5.2)
R5.x -> R5.4 (requires PHP >= 5.4)

Please read the upgrade notices carefully.

1.3.1. Upgrade from R5.4.0

If you want upgrade from R5.4.0 to R5.4.3 then just copy the new files over the old ones except:
folders cache/, config/, files/, lib/captcha/ and
files .htaccess, robots.txt

WackoWiki will still report themselves as R5.4.0 because this is a maintenance release.

1.4. Installation

1.4.1. Requirements

requires now

  • PHP >= 5.4.0 (PHP 5.5 recommended)
  • Apache >= 2.0
  • SQL database system, one of:
    • MariaDB >= 5.5 (MariaDB 10 recommended)
    • MySql >= 5.5 (MySql 5.6 recommended)

Step by step as Installer Screenshots.

Data base configuration: If the installer asks you for charset, select the appropriate character set, e.g. [cp1252 Western European] for Latin 1.

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 xml files/global files/perpage sitemap.xml _cache/config/ _cache/queries/ _cache/pages/ _cache/feeds/

chmod 644 config/config.php

1.4.3. 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 /doc/
 RewriteCond    %{REQUEST_FILENAME}  -d
 RewriteRule ^(.*/[^\./]*[^/])$ $1/
 RewriteRule ^admin\.php$ admin.php [L]
 RewriteRule ^(robots\.txt)$ robots.txt [L]
 RewriteRule ^(sitemap\.xml)$ sitemap.xml [L]
 RewriteRule ^(favicon\.ico)$ favicon.ico [L]
 RewriteRule ^(.*)$ index.php?page=$1 [QSA,L]


1.4.4. SQL Mode

If you work on a home-brew stack using MySQL 5.6 or 5.7, please check your sql_mode settings.
MySQL switched the SQL-Mode to 'strict' as default since 5.6 and all versions of WackoWiki prior to 5.5 will fail with SQL-Mode 'strict' on. So you must turn it off. We working on a patch.

SELECT @@GLOBAL.sql_mode, @@SESSION.sql_mode;



# The MySQL server

1.4.5. new config settings

primary config

  1. 'database_charset' => '[latin1|cp1251|...]',



1.4.6. path to user profile

To guide the link to the users page or profile ((user:UserName UserName)) set in config/interwiki.conf the right path,
if your Wiki does not resides in root don't forget to add the folders.

mode_rewrite on mode_rewrite off 
user /Users?profile= user /?page=Users&profile=
user /folder_test/wacko/Users?profile= user /folder_test/wacko/?page=Users&profile=

1.5. Admin Panel

The new Admin panel is still in its Beta stage, so some features might be broken.

  • to login define the recovery_password in the config 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.
  • call yourwiki/admin.php
  • enter your recovery_password

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

1.6. Backwards Compatibility

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

1.7. Hacks / Patches

  1. gallery action

1.8. Known Issues

All known issues are tracked in our Bug Tracker.

  1. To use Captcha, you must ensure that the session settings in freecap.php do not differ from the default values or your config settings, else Captcha can't pass its values to the session. In the following link you find a workaround:
  2. Do not use Latin1 code page for non-Latin1 content if not necessary, switch the page language accordingly
  3. @@[local] in intra link may break the Formatter in combination with the toc action
    • e.g. ((../Russian/WackoÑèíòàêñèñ Ðóññêèé @@ru))
  4. 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
  5. multilanguage on: a user with a different but available browser default language can't access the default pages including login via the available theme because the Wacko engine will load this language and the related pages defined there are however possibly not applied / deleted or moved -> Solution: Restore / create the missing default pages for this language

1.9. Documentation

1.10. Credits

Read comments (2 comments)