I was running MediaWiki 1.20.8 with no problems. Then after upgrading PCRE from version 8.33 to 8.34, the content on most of the pages in my MediaWiki site does not display, only empty pages without content. Then I upgraded to MediaWIki 1.22.0, but the same problem still exist there.
The Apache Error Log shows many lines like this (note there is different line numbers in the errors, so its not only line number 902 like in this example) (I have changed the domain name and user name and ip from the error):
[Wed Dec 18 14:07:46.351691 2013] [:error] [pid 8193] [client 220.127.116.11:53455] PHP Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/xxx/domains/xxx.com/public_html/w/includes/MagicWord.php on line 907, referer: http:// xxx.no/w/index.php/Hovedside
Then I look at PCRE 8.34 changelog at pcre.org/news.txt wich says this:
"Perl no longer allows group names to start with digits, so I have made this change also in PCRE."
Please look into this and make MediaWiki compatible with newest PCRE 8.34
Also, please help me about what changes I need to do in order to patch this problem manually in MagicWord.php, so that I don't have to downgrade PCRE, please help.