FS#38317 - [mediawiki] PCRE 8.34-1 Upgrade breaks expected regex behavior
Attached to Project:
Community Packages
Opened by Pete (the-pete) - Monday, 30 December 2013, 05:23 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 08 January 2014, 11:24 GMT
Opened by Pete (the-pete) - Monday, 30 December 2013, 05:23 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 08 January 2014, 11:24 GMT
|
Details
The most recent upgrade to pcre 8.34-1 seems to disallow
group names
starting with a digit. A quote from the PCRE news.txt [1]: > "Perl no longer allows group names to start with digits, so I have made this change also in PCRE." I found this bug report[2] on the mediawiki site that apparently has a working patch though it hasn't been added to a mediawiki update yet. This breaks my MediaWiki install with the following error in the httpd/error.log: >PHP Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /usr/share/webapps/mediawiki/includes/MagicWord.php on line 907 There is not content shown in the pages of my wiki though a look at the page history/database shows it is all still in the DB. Let me know if I can get any other info for this. [1] http://pcre.org/news.txt [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=58640 |
This task depends upon
Also, I think
FS#38323is related.