R6.0 Change Log

6.0

(12.11.2019) Revision:4885 -> Rc1 (Release Notes)



1. Configuration

1.1. primary config

  1. changed
    1. 'database_charset' => 'utf8mb4',
    2. 'database_collation' => 'utf8mb4_unicode_520_ci',

1.2. secondary config

  1. new 
    • upload_translit
  2. removed
    • antidupe
    • disable_tikilinks

1.3. constants

  1. new 
    • DB_MIN_VERSION
  2. removed
    • TRANSLIT_DONTCHANGE
    • TRANSLIT_LOWERCASE
    • TRANSLIT_LOAD
    • TRANSLIT_DONTLOAD

1.4. conf files

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

2. Core

  • converted all PHP files to UTF-8
  • set utf-8 as default encoding
  • removed usage of HTML Unicode entities
  • removed all supertag usage
  • removed all translit functions and related code
  • set the /u flag for all regex handling Unicode
  • replaced all non Unicode safe functions with their mb_ equivalent where necessary
  • normalizes file_name, tag and user_name to Form C (NFC)
  • new Unicode regex patterns
    •   $wacko_language['USER_NAME']		= '[\p{L}\p{Nd}\-\.]+';
        $wacko_language['UPPER']		= '[\p{Lu}]';
        $wacko_language['UPPERNUM']		= '[\p{Lu}\p{Nd}]';
        $wacko_language['LOWER']		= '[\p{Ll}\/]';
        $wacko_language['ALPHA']		= '[\p{L}\_\-\/]';
        $wacko_language['ALPHANUM_P']		= '\p{L}\p{M}*+\p{Nd}\_\-\/';
        $wacko_language['ALPHANUM']		= '[' . $wacko_language['ALPHANUM_P'] . ']';

2.1. Methods

This is only a random selection.

  • added
    • Ut::normalize()
    • Ut::translit()
  • removed
    • try_utf_decode()
    • do_unicode_entities()
    • utf8_to_unicode_entities()
    • translit()

3. Database

  • drop support for MyISAM
  • uses utf8mb4 as default encoding
  • removed obsolete supertag field from all related tables
  • Database schema changes

4. Installer

  • adds all base pages now for all languages only once
  • sets database collation to utf8mb4_unicode_520_ci

5. Formatters

  • moved BBcode formatter to community repo
  • removed support for Tiki-Links, e.g. Wiki.Word -> Wiki/Word

6. Actions

7. Handlers


8. Themes

  • added link rel="canonical" to common page header

9. WikiEdit


10. Admin panel

  1. removed transliterate module

11. Translations


12. Packages


updated




Note that the changelog is usually incomplete, for a complete list of changes that went into R6.0, you can browse the Mercurial log, the Bug Tracker Log and ToDo list.