WackoWiki: 5.4 Release Notes

https://wackowiki.org/doc     Version: 20.08.2021 09:24

1. R5.4

(12.07.2014) 3679c8e[link1] -> M3 (Change Log[link2])



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

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

Notable in this release:

milestones

1.1. Download

wacko.r5.4.3.zip[link5]


Repo files

Clone repo
git clone -b 5.4.3 https://bitbucket.org/wackowiki/wackowiki.git

1.2. Translations

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

Step by step as Installer Screenshots[link9].

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

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[link11] 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.4.5. new config settings

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

constants
  1. HTML_ENTITIES_CHARSET

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

1.6. Hacks / Patches

  1. gallery action[link13]

1.7. Known Issues

All known issues are tracked in our Bug Tracker.[link14]
  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. @@[local] in intra link may break the Formatter in combination with the toc action
    • e.g. ((../Русский/WackoÑèíòàêñèñ Ðóññêèé @@ru))
  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
  4. 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.8. Documentation

1.9. Credits