Author: radek.marik
Description:
Running on XAMPP 2.5.
I tried to import 6500 pages exported from MediaWiki 1.9. After a while, roughly 3500 pages, the importdump.php reports many times:
Warning: preg_match(): Compilation failed: regular expression is too large at offset 29149 in C:\xampp\htdocs\wiki\includes\Preprocessor_DOM.php on line 205.
Additional notes:
The issue can be tracked to the variable $xmlishElements receiving its value from $this->parser->getStripList() on line 81. The parser accumulates more and more hooks with the same key ("ask") remembering all of them because it is implemented as a normal array not as as a associative array.
Version: 1.12.x
Severity: major
OS: Windows XP
Platform: PC