WackoWiki: Release Notes

https://wackowiki.org/doc     Version: 04.06.2017 07:49
Dev[link83]/ReleaseNotes
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[link1])

1. R5.5

(05.06.2017) Revision:3771[link2] -> RC3 (Change Log[link3])


- Release Candidate - As work on WackoWiki 5.5 is still underway[link4], this is an incomplete list of changes.



This is a major release.
In addition to miscellaneous fixes the 5.5 release serves mainly three purposes: Migration to HTML5, address security related features and PHP5.6/7.0 compatibility.


mammut mascot

1.1. Notable in this release

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

milestones

1.2. Download

wacko.r5.5.rc3.zip[link5]


Repo files


Clone repo

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

1.3. Translations

1.4. Upgrade path

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


Please read the upgrade notices[link9] carefully.

1.5. Installation

1.5.1. Requirements

requires now


Step by step as Installer Screenshots[link10].


Preparing the Database for Installation


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


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

If your webserver's URLs are not directly related to physical file paths, you will need to use RewriteBase[link11] 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.3. 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[link12] 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

1.5.4. 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.5. New config settings

primary config

  1. 'allow_persistent_cookie ' => '',

constants

  1. RECOVERY_MODE

conf files

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

1.5.6. 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' youtube.com youtube-nocookie.com;
	object-src 'self' youtube.com youtube-nocookie.com;
	child-src 'self' *.youtube.com *.youtube-nocookie.com;

1.6. Admin Panel

The Admin panel[link15] remains in Beta stage.


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[link16]

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

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

  1. Do not use Latin1 code page for non-Latin1 content if not necessary, switch the page language accordingly
  2. Some translations[link8] contain untranslated English strings
  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
  6. 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. HOTFIX: disable Autocomplete under user settings -> extended -> Complete wikilinks by Ctrl+Space

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

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[link23] -> PHP 7 only
  6. archive table
  7. guest settings

1.14. Credits


2. R5.4

(12.07.2014) Revision:2389[link37] -> M3 (Change Log[link38])



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


Notable in this release:


milestones

2.1. Download

wacko.r5.4.3.zip[link41]


Repo files


Clone repo

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

2.2. Translations

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[link44] 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

requires now


Step by step as Installer Screenshots[link10].


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


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

If your webserver's URLs are not directly related to physical file paths, you will need to use RewriteBase[link11] 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.2. 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[link12] 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.3. new config settings

primary config

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

constants

  1. HTML_ENTITIES_CHARSET

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


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

2.7. Hacks / Patches

  1. gallery action[link45]

2.8. Known Issues

All known issues are tracked in our Bug Tracker.[link46]

  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[link53] -> Final (Change Log[link54])



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


Notable in this release:


milestones

3.1. Download

wacko.r5.1.0.zip[link55]


Repo files


Clone repo

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

3.2. Translations

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[link58] carefully.

3.4. Installation

requires now


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.


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

3.7. Known Issues

All known issues are tracked in our Bug Tracker.[link46]

  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[link40]
  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[link28]

3.8. Documentation

3.9. Credits


4. R5.0

(14.03.2017) Revision:3430[link60] -> Maintainance4 (Change Log[link61])



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[link62] features and last PHP5.3 compatibility.


Notable in this release:


milestones

4.1. Download

wacko.r5.0.4.zip[link64]


Repo files


Clone repo

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

4.2. Translations

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[link67] 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

requires now


Not compatible with PHP 5.4!


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.1. new config settings



4.4.2. 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[link12] 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.


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[link69]

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


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

4.9. Known Issues

All known issues are tracked in our Bug Tracker.[link46]

  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. Before you upgrade from R5.0.beta change your wacko_version in the config file to 
    'wacko_version' => '5.0.beta',
  3. Do not use Latin1 code page for non-Latin1 content if not necessary, switch the page language accordingly
  4. toc action does not recognize include page structure[link40]
  5. 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
  6. Not compatible with PHP 5.4! – see bugs:422[link28]

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[link79] (Change Log[link80])



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:


milestones

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

5.4. Known Issues

All known issues are tracked in our Bug Tracker.[link22]