6.1 Change Log
6.1
(11.05.2022) 280f5ae -> M9 (Release Notes)
As work on WackoWiki 6.1 is still underway, this is an incomplete list of changes.
1. Configuration
1.1. secondary config
- new
-
news_structure
-
xml_sitemap_gz
-
theme_color
-
- removed
-
footer_rating
-
dst
-
1.2. constants
- new
-
DB_ERROR_MODE
: 0 - silent (default), 1 - warning, 2 - exception
-
1.3. conf files
- changed
2. Core
- use of new
str_contains()
,str_starts_with()
,str_ends_with()
and Match expression - use of PHP null coalescing assignment operator
??=
- added option to compress sitemap.xml
- writes
sitemap.xml
now by default into thexml/
folder - disables JavaScript in all SVGs via CSP directive
- COLLATE tag column case-insensitive for ORDER BY and LIKE
-
ORDER BY tag COLLATE utf8mb4_unicode_520_ci ASC
-
WHERE tag COLLATE utf8mb4_unicode_520_ci LIKE
-
- removed polls class
- uses now the IntlDateFormatter for localizing date and time formats & determining DST according the set timezone
- adds option to set DB error mode for MySQLi and PDO driver
- set missing
context
for comments and news feed - set system language for all feeds
- fixed various SQL Strict mode issues
2.1. Methods
This is only a random selection.
- added
-
get_favicon()
-
date_format($unix_time, $pattern)
- uses
IntlDateFormatter::format()
- for
$pattern
see ICU Dates and Times Format patterns
- uses
-
- modified
-
get_page_path($tag = '', $titles = false, $separator = '/', $linking = true, $root_page = false)
- added
$tag
as first argument, this changes the order of the parameters
- added
-
- removed
- page rating related functions
3. Database
- removed table
-
poll
-
rating
-
- changed field
-
timezone
toVARCHAR(100)
in user_setting table -
query
toVARCHAR(255)
in cache table
-
- renamed field
-
lost_password_request_count
topassword_request_count
in user table -
uploaded_dt
tocreated
in file table -
modified_dt
tomodified
in file table
-
- removed field
-
footer_rating
from page table -
typografica
from user_setting table -
dst
from user_setting table
-
- added index
-
idx_user_id
to menu table -
idx_page_id
to menu table -
idx_lang
to menu table -
idx_user_id
to watch table -
idx_page_id
to watch table
-
Database schema changes
4. Installer
- removed legacy code from upgrade process, requires now at least WackoWiki 6.0.22
- normalized inserting pages
5. Formatters
- adds support for AVIF, requires LibGD 2.3.2 and PHP 8.1
- adds support for JPEG XL, LibGD and PHP support pending
- allows multi-line actions
-
{{action title="" info= ... }}
-
- new syntax for auto-generated footnote
[[^ footnote here]]
6. Actions
-
search
: adds language filter to search in multilanguage mode -
login
: removed check and rehash of legacy password formats - added
- removed
-
polls
-
pollsadd
-
pollsarchive
-
pollspreview
-
mostrated
-
7. Handlers
-
upload
: it adds uploaded files to file table in SQL strict mode again, changed default value for caption in file table toDEFAULT NULL
-
moderate
: fixed unreachable sub-forum options to delete, move, rename and merge topics -
print
: sets numerated links always as absolute URL - removed
rate
handler -
new
: does no longer showsdb->root_page
as predefined cluster (as it is often mistaken as root)-
/NewPage
- new page/cluster in root -
/HomePage/NewPage
- possible, however the breadcrumbs navigation may incorrectly suggest that HomePage is the root directory
-
8. Themes
- assigns styles for table headers and columns via
:nth-child()
-
/* users table */ .users col:nth-child(n+1):nth-child(-n+3) { width: 5px; } .users col:nth-child(4), .users col:nth-child(n+6) { width: 20px; }
-
- CSS: uses
var()
for font-family, specific color attributions and similar - breadcrumbs: add the new first argument in the
$this->get_page_path()
call in header.php-
-$tpl->breadcrumbs = $this->get_page_path(false, ' > ', true, true); +$tpl->breadcrumbs = $this->get_page_path(null, false, ' > ', true, true);
-
- provisional RTL support for
default
theme- added
[dir=rtl]
CSS classes
- added
9. WikiEdit
- ECMAScript 2015 Migration
- added Unicode support
10. Admin panel
- pages: determines
news_levels
according to the given settings - appearance: added option to set a theme color for the address bar
- removed obsolete convert module
- sets
DEFAULT
for all fields in backup module script
11. Translations
- added Persian language
- updated Chinese Simplified translation
12. Packages
updated
- PHP Thumb Library 2.1
- Text_Highlighter 0.8.0
- SafeHTML 1.3.12
- WikiEdit 3.21
- SimplePie 1.6.0 (Changelog)
- PHPMailer 6.6.0 (Changelog)
- Bad Behavior 2.2.24
- Hashids 4.1.0 (Changelog)
- php-diff 2.4.0 (Changelog)
- clipboard.js v2.0.10
Note that the changelog is usually incomplete, for a complete list of changes that went into R6.1, you can browse the Commit log, the Bug Tracker Log and ToDo list.