TODO / Feature list
++ Replace ifset https://www.php.net/manual/en/migration70.new-features.php#migration70.new-features.null-coalesce-op
+ from summoner.class.php
+ Whole Page snapshot
+ view table really still needed?
+ theme support
// text without any whitespace and special chars
// but with Punctuation other
# http://www.sql-und-xml.de/unicode-database/po.html
- $pattern = '/[\p{L}\p{N}\p{Po}\-]/u';
+ $pattern = '/[\p{L}\p{N}\p{Po}\-_]/u';
break;
case 'digit':
case 'pageTitle':
// text with whitespace and without special chars
// but with Punctuation
- $pattern = '/[\p{L}\p{N}\p{Po}\p{Z}\s-]/u';
+ $pattern = '/[\p{L}\p{N}\p{Po}\p{Z}\s\-_]/u';
break;
# strange. the \p{M} is needed.. don't know why..
/**
* a very simple HTTP_AUTH authentication.
*/
- static function simpleAuth() {
+ static function simpleAuth(): void {
if (!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW'])
|| $_SERVER['PHP_AUTH_USER'] !== FRONTEND_USERNAME || $_SERVER['PHP_AUTH_PW'] !== FRONTEND_PASSWORD
) {