Author: adamcox82
Description:
Warning: preg_match() [function.preg-match]: Empty regular expression in /home/zeldaw/public_html/includes/Linker.php on line 1466
After upgrading to MediaWiki 1.17.0 and PHP 5.3.2, I found that this extension generated the above error on our wiki. Since I couldn't find anywhere in CharInsert.php which was obviously making a call to this (or any) function in Linker.php, I instead went to includes/Linker.php to analyse the indicated line.
I found that I could work around this by modifying Linker.php to comment out line 1459 (if ( $regex === false ) {) and the closing brace on line 1462, such that the error is no longer generated.
Version: unspecified
Severity: major