Error
- mwversion: 1.40.0-wmf.6
- reqId: bb245a03-2fec-4a84-8f32-42d9bdb16f20
- Find reqId in Logstash
[{reqId}] {exception_url} MWException: PCRE needs to be compiled with --enable-unicode-properties in order for MediaWiki to function
from /srv/mediawiki/php-1.40.0-wmf.6/includes/parser/Parser.php(2171) #0 /srv/mediawiki/php-1.40.0-wmf.6/includes/parser/Parser.php(1629): Parser->handleExternalLinks(string) #1 /srv/mediawiki/php-1.40.0-wmf.6/includes/parser/Parser.php(712): Parser->internalParse(string) #2 /srv/mediawiki/php-1.40.0-wmf.6/includes/content/WikitextContentHandler.php(301): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL) #3 /srv/mediawiki/php-1.40.0-wmf.6/includes/content/ContentHandler.php(1721): WikitextContentHandler->fillParserOutput(WikitextContent, MediaWiki\Content\Renderer\ContentParseParams, ParserOutput) #4 /srv/mediawiki/php-1.40.0-wmf.6/includes/content/Renderer/ContentRenderer.php(47): ContentHandler->getParserOutput(WikitextContent, MediaWiki\Content\Renderer\ContentParseParams) #5 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiParse.php(151): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(WikitextContent, Title, NULL, ParserOptions) #6 /srv/mediawiki/php-1.40.0-wmf.6/includes/poolcounter/PoolCounterWorkViaCallback.php(69): ApiParse->{closure}() #7 /srv/mediawiki/php-1.40.0-wmf.6/includes/poolcounter/PoolCounterWork.php(163): PoolCounterWorkViaCallback->doWork() #8 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiParse.php(158): PoolCounterWork->execute() #9 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiParse.php(422): ApiParse->getContentParserOutput(WikitextContent, Title, NULL, ParserOptions) #10 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(1900): ApiParse->execute() #11 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(844): ApiMain->executeAction() #12 /srv/mediawiki/php-1.40.0-wmf.6/extensions/DiscussionTools/includes/ApiDiscussionToolsTrait.php(134): ApiMain->execute() #13 /srv/mediawiki/php-1.40.0-wmf.6/extensions/DiscussionTools/includes/ApiDiscussionToolsPreview.php(65): MediaWiki\Extension\DiscussionTools\ApiDiscussionToolsPreview->previewMessage(string, Title, array, array) #14 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(1900): MediaWiki\Extension\DiscussionTools\ApiDiscussionToolsPreview->execute() #15 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(875): ApiMain->executeAction() #16 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(846): ApiMain->executeActionWithErrorHandling() #17 /srv/mediawiki/php-1.40.0-wmf.6/api.php(90): ApiMain->execute() #18 /srv/mediawiki/php-1.40.0-wmf.6/api.php(45): wfApiMain() #19 /srv/mediawiki/w/api.php(3): require(string) #20 {main}
Impact
40 occurrences over 15 days
Notes
Code from wmf/1.40.0-wmf.6
2157 /** 2158 * Replace external links (REL) 2159 * 2160 * Note: this is all very hackish and the order of execution matters a lot. 2161 * Make sure to run tests/parser/parserTests.php if you change this code. 2162 * 2163 * @param string $text 2164 * @throws MWException 2165 * @return string 2166 */ 2167 private function handleExternalLinks( $text ) { 2168 $bits = preg_split( $this->mExtLinkBracketedRegex, $text, -1, PREG_SPLIT_DELIM_CAPTURE ); 2169 // @phan-suppress-next-line PhanTypeComparisonFromArray See phan issue #3161 2170 if ( $bits === false ) { 2171 throw new MWException( "PCRE needs to be compiled with " 2172 . "--enable-unicode-properties in order for MediaWiki to function" ); 2173 }
Which comes from 2012 commit 5a6f82c47f414e5f5a71f59ac49f840015d4ad71 for T40249.