Compilation failed: regular expression is too large at offset 58 in /usr/local/apache/common-local/php-1.21wmf12/extensions/MobileFrontend/includes/api/ApiQueryExtracts.php on line 261
Version: unspecified
Severity: normal
Compilation failed: regular expression is too large at offset 58 in /usr/local/apache/common-local/php-1.21wmf12/extensions/MobileFrontend/includes/api/ApiQueryExtracts.php on line 261
Version: unspecified
Severity: normal
mgrover wrote:
Assigned Mingle Ticket https://mingle.corp.wikimedia.org/projects/mobile/cards/726
Related URL: https://gerrit.wikimedia.org/r/63693 (Gerrit Change I1f132f03930c02b259ad03987aef52cc24f4a848)
Appeared once during the last week. I've added logging in https://gerrit.wikimedia.org/r/63693 to help track this problem down.
Here are a couple of examples from the log:
mw1202 enwiki: Invalid regular expression: /^(.+?(?:([^\d])\.\s|\!\s|\?\s|。|.|!|?|。)+){100}/u
mw1195 enwiki: Invalid regular expression: /^(.+?(?:([^\d])\.\s|\!\s|\?\s|。|.|!|?|。)+){20}/u
Unfortunately, that doesn't tell us much about why the regex is actually failing. I'm going to add the page IDs to the logging, so we can investigate further.
Change 72121 had a related patch set uploaded by Kaldari:
Adding the page ID to the debugging output
Change 73396 had a related patch set uploaded by MaxSem:
Fix regexp error in prop=extracts