From 8a1f9ada65d746b630c96b184000f3f0bf6cf34d Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 30 Nov 2012 05:40:20 +0100 Subject: Update to MediaWiki 1.19.3 --- includes/parser/Parser.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'includes/parser/Parser.php') diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 2abf1b93..d4f167c9 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1481,6 +1481,9 @@ class Parser { wfProfileIn( __METHOD__ ); $bits = preg_split( $this->mExtLinkBracketedRegex, $text, -1, PREG_SPLIT_DELIM_CAPTURE ); + if ( $bits === false ) { + throw new MWException( "PCRE needs to be compiled with --enable-unicode-properties in order for MediaWiki to function" ); + } $s = array_shift( $bits ); $i = 0; -- cgit v1.2.2