Author: timo.gurr
Description:
php-5.5.7-with-pcre-8.34.jpg
After upgrading pcre from version 8.33 to 8.34 mediawiki-1.22.0 shows some undesired/broken behaviour.
- descriptive text when editing a page is missing (see attached screenshots)
- pages with content displayed as blank/empty
Apache error.log shows the following:
[Wed Dec 18 11:40:32.819810 2013] [:error] [pid 20885] [client 127.0.0.1:57571] PHP Warning: Invalid argument supplied for foreach() in /var/www/wiki/htdocs/includes/MagicWord.php on line 882, referer: http://wiki.domain/index.php/Hauptseite
[Wed Dec 18 11:40:32.819841 2013] [:error] [pid 20885] [client 127.0.0.1:57571] PHP Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/wiki/htdocs/includes/MagicWord.php on line 886, referer: http://wiki.domain/index.php/Hauptseite
[Wed Dec 18 11:40:32.819871 2013] [:error] [pid 20885] [client 127.0.0.1:57571] PHP Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/wiki/htdocs/includes/MagicWord.php on line 881, referer: http://wiki.domain/index.php/Hauptseite
Side note: Downgrading pcre back to 8.33 didn't solve the problem with the "emtpy" pages immediately, I had to edit and save them (without changing the content) to get the content displayed again.
Version: 1.22.0
Severity: major
OS: Linux
Attached: