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

(25.08.2017) Revision:3839 -> Final (Change Log)


As work on WackoWiki 5.5 is still underway, this is an incomplete list of changes.



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



1.1. Notable in this release

  1. complete PHP 7.0/7.1 compatibility
  2. HTML5 support
  3. major refactoring of init system
  4. new session handler
  5. 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 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

milestones

  • beta – 14.12.15
  • rc – 18.04.16
  • rc2 – 12.08.16
  • rc3 – 05.06.17
  • final – 25.08.17
  • maintenance1 – 22.12.17

1.2. Download

wacko.r5.5.0.zip

  • SHA1: 8ff01fe26b69c27929dbc4ff09b7d05988322476
  • File updated to change set 3839 -0b002ae2c625

Repo files


Clone repo

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

1.3. Translations

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

1.4. Upgrade path

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


Please read the upgrade notices carefully.

1.5. Installation

1.5.1. Requirements

requires now

  • PHP >= 5.6.0 (PHP 7.0 recommended)
  • PHP Extensions
    • bcmath, ctype, gd, iconv, json, mbstring, openssl, pcre, spl 
  • Apache >= 2.2
  • 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
  • [ISO 8859-7 Greek] for Greek

1.5.2. File Permissions

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


Example:
chmod 0777 _cache/config/ _cache/feed/ _cache/page/ _cache/query/ _cache/template/ config/lock config/lock_ap file/backup/ file/global file/perpage xml sitemap.xml


chmod 0660 config/lock config/lock_ap


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

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

</IfModule>

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


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


Disable: NO_ZERO_DATE, ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, STRICT_ALL_TABLES, TRADITIONAL.


my.cnf

# The MySQL server
[mysqld]
sql_mode = NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER

1.5.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'].


1.5.6. New config settings

primary config


secondary config


constants

  1. RECOVERY_MODE

conf files

  1. csp_custom.conf
  2. router.conf
  3. autoload.conf

Please check the Change Log for more details.

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

1.6. Admin Panel

The Admin panel remains in Beta stage.

  • 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.
  • 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.7. 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 adopt your theme without using the template engine.


-> Themes

1.8. Extensions

1.9. Backwards Compatibility

We dropped compatibility code for older PHP and MySQL versions. R5.5 requires at least PHP 5.6 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.

1.9.1. MariaDB and XtraDB

XtraDB is an enhanced version of the InnoDB storage engine, designed to better scale on modern hardware, and it includes a variety of other features useful in high performance environments.


It is fully backwards compatible, and it identifies itself to MariaDB as "ENGINE=InnoDB" (just like InnoDB), and so can be used as a drop-in replacement for standard InnoDB.

1.9.2. Backward Incompatible Changes

  1. TODO

1.10. Known Issues

All known issues are tracked in our Bug Tracker.

  1. Missing route cases (needs fix)
    1. TLS-Proxy is not routed
    2. Admin Panel is not routed with mode_rewrite OFF 
  2. Do not use Latin1 code page for non-Latin1 content if not necessary, switch the page language accordingly
  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
  5. Not compatible with PHP 7.1! – see bugs:459 FIXED

1.11. Developers

New debug function

  1. to write a parameter in the debug log 
    • Ut::dbg('debug_variable', $parameter);
    • Writes $parameter to the log in the main directory wacko/DEBUG when the config debug is enabled. Be aware the log isn't emptied automatically.

Access config values

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

1.12. Documentation


1.13. 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, reduce bugs and make it more stable.


Apart from that following features are planned to be implemented:

  1. extended ACLs
  2. WackoFormatter rewrite
  3. improve GUI usability
  4. faceted search
  5. UTF8 support -> PHP 7 only
  6. archive table
  7. guest settings

1.14. Feedback

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

1.15. Credits


2. 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: PHP5.4 / PHP5.5 compatibility.


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


Notable in this release:


milestones

  • final – 17.04.14
  • maintenance3 12.07.14

2.1. Download

wacko.r5.4.3.zip

  • 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

2.2. Translations

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

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

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

2.4. Installation

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

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


chmod 644 config/config.php

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

</IfModule>

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


Disable: NO_ZERO_DATE, ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, STRICT_ALL_TABLES, TRADITIONAL.


my.cnf

# The MySQL server
[mysqld]
sql_mode = NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER

2.4.5. new config settings

primary config

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

constants

  1. HTML_ENTITIES_CHARSET

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

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

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

2.7. Hacks / Patches

  1. gallery action

2.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
      1. This issue will become obsolete with our upcoming unicode ready Wiki engine.
  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

2.9. Documentation

2.10. Credits


3. R5.1

(17.06.2012) Revision:2173 -> Final (Change Log)



This is a minor release.
The 5.1 release serves mainly one purposes. To remove the old legacy code.
For major changes please read the Release Notes of R5.0.


Notable in this release:

  • removed legacy code
  • Fixed a number of localization issues
  • minor fixes

milestones

  • final – 17.06.12

3.1. Download

wacko.r5.1.0.zip

  • SHA1: 9dfca4439d95e22dcc7d68537320b27315df6036

Repo files


Clone repo

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

3.2. Translations

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

3.3. Upgrade path

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


Please read the upgrade notices carefully.

3.4. Installation

3.4.1. Requirements

requires now

  • PHP >= 5.2.0 (PHP 5.3 recommended)
  • Apache >= 2.0
  • MySql >= 5.0.3

3.4.2. File Permissions

touch config/config.php
chmod 666 config/config.php


Example: chmod 0777 xml files/global files/perpage sitemap.xml _cache/config/ _cache/queries/ _cache/pages/ _cache/feeds/


chmod 644 config/config.php

3.5. Admin Panel

The new Admin panel is still in its Beta stage.

  • 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

3.6. Backwards Compatibility

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

3.7. 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. toc action does not recognize include page structure
  4. broken POST & reset of Session in menu section via user settings which requires you to logout and login to refresh the changed bookmarks / menu
    • HOTFIX: add the {{menu}} action into a seperate page and edit the menu items / bookmarks there
  5. Not compatible with PHP 5.4! – see bugs:422

3.8. Documentation

3.9. Credits


4. R5.0

(14.03.2017) Revision:3430 -> Maintenance4 (Change Log)



This is a major feature release.
The 5.0 release serves mainly three purposes. The first is to normalize database second to back port and merge openSpace features and last PHP5.3 compatibility.


Notable in this release:

  • Fixed a number of localisation issues
  • complete PHP5.3 compatibility
  • Implemented PHPMailer support
  • Added new default theme
  • Updated installer
  • major code refactoring and cleanup
    • made all function and variable names lower case, e.g. LoadAll -> load_all
    • replaced double quotes with single quotes wherever possible
    • tabs for indention
  • more XHTML compliance

milestones

  • beta – 01.06.2011
  • rc1 – 12.09.2011
  • rc2 – 06.02.2012
  • rc3 – 20.3.12
  • final – 22.04.12
  • maintenance1 – 17.06.12
  • maintenance2 – 24.11.15
  • maintenance3 – 07.08.16
  • maintenance4 – 14.03.17

4.1. Download

wacko.r5.0.4.zip

  • SHA1: 32f176d72f395c7ad69241f55416b1ed20cb2303

Repo files


Clone repo

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

4.2. Translations

  • we renamed the function GetResourceValue to get_translation
  • Call for Localization
    • If you can help with languages other than English and German, it would be appreciated.

4.3. Upgrade path

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


Please read the upgrade notices carefully.
Don't miss to run the adminupdate action after the upgrade to migrate your old data, it is only in this release available.

4.4. Installation

4.4.1. Requirements

requires now

  • PHP >= 5.2.0 (PHP 5.3 recommended)
  • Apache >= 2.0
  • MySql >= 5.0.3

Not compatible with PHP 5.4!

4.4.2. File Permissions

touch config/config.php
chmod 666 config/config.php


Example: chmod 0777 xml files/global files/perpage sitemap.xml _cache/config/ _cache/queries/ _cache/pages/ _cache/feeds/


chmod 644 config/config.php

4.4.3. new config settings


  • WikiLinks and TikiLinks are now entirely disabled by default
    • To re-enable them, set disable_wikilinks or disable_tikilinks = 0 via config table or Admin panel
    • with wikilinks disabled all internal links must be set in double brackets
      • enabled disabled
        TextSearch((TextSearch))
        Users/WikiAdmin ((Users/WikiAdmin))

4.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. You must turn it off. We working on a patch.


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


Disable: NO_ZERO_DATE, ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, STRICT_ALL_TABLES, TRADITIONAL.


my.cnf

# The MySQL server
[mysqld]
sql_mode = NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER

4.5. Admin Panel

The new Admin panel is still in its Beta stage.

  • 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

4.6. Themes

Themes for earlier versions will no longer work without modification.
When you upgrade WackoWiki all of your Themes will be reset to 'default' theme for each user account to ensure that nothing breaks.
Please ensure that your Themes that either

  1. they are compatible with this release or 
  2. there are newer versions available that are compatible.

-> Themes

4.7. Extensions

Extensions installed under previous versions of WackoWiki may be incompatible and/or require updates to work with WackoWiki.

4.8. Backwards Compatibility

  • replaced GetConfigValue("setting") with config['setting']
  • replaced config['root_url'] with config['base_url'] – since mode_rewrite is handled in the run function root_url became obsolete

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

4.9. 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. toc action does not recognize include page structure
  4. broken POST & reset of Session in menu section via user settings which requires you to logout and login to refresh the changed bookmarks / menu
    • HOTFIX: add the {{menu}} action into a seperate page and edit the menu items / bokkmarks there
  5. Not compatible with PHP 5.4! – see bugs:422

4.10. Credits


If we have missed someone`s contribution — we are very sorry for that. Please fill this page with actual information.


5. R4.3

(20.03.2011) Revision:1816 (Change Log)



The 4.3 release serves two purposes. The first is to release a number of bug fixes to the wacko community and the second is to say wacko is officially alive again. Primarily we are just taking care of all the bugs in the bugtracker whilst implementing user requested extra features along the way. Here's a brief summary of the changes we've made in 4.3:


Notable in this release:

  • fixed a number of localisation issues
  • complete PHP5.2 compatibility (was only one line of code that killed it)
  • implemented PHP PDO database support
  • added XML sitemap support
  • is now secure by default
    • ACL settings
    • Captcha
    • made it a bit more secure by hiding certain things from non logged in users or in some cases just certain users/groups
  • updated installer although it still needs work
  • more XHTML compliance

milestones

  • rc1 – 12.09.2008
  • final – 20.03.2011 (maintenance)

5.1. Download

Repo files


Clone repo

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

5.2. Installation

5.2.1. Requirements

  • requires now PHP >= 4.3.3 & PHP < 5.3.0

5.2.2. new config settings

  1. 'database_driver' => 'mysql_legacy',
  2. 'database_host' => 'localhost',
  3. 'database_port' => ' ',
  4. 'database_database' => 'wacko'
  5. 'database_user' => 'wacko',
  6. 'database_password' => 'mypassword',
  7. 'session_prefix' => 'wacko43_',
  8. 'xml_sitemap' => 0,
  9. 'spam_filter' => 1, – spam_filter config parameter
  10. 'captcha_new_comment' => 1,
  11. 'captcha_new_page' => 1,
  12. 'captcha_edit_page' => 1,
  13. 'captcha_registration' => 1,

5.3. Backwards Compatibility

  • the quote function requires now a reference to the database -> $this->dblink
  • changed wakka.php?wakka= to index.php?page=

5.4. Known Issues

All known issues are tracked in our Bug Tracker.