https://bugzilla.wikimedia.org/show_bug.cgi?id=42229

--- Comment #1 from Mark A. Hershberger <m...@everybody.org> 2012-11-17 
19:05:37 UTC ---
The error is generated in replaceExternalLinks() in Parser.php when
preg_split() returns false.

Looking at the PHP documentation
(http://php.net/manual/en/function.preg-split.php), the cases preg_split()
returns false are not documented.  preg_match() says it returns false "if an
error occurs" but the only error it documents is "if offset is higher than
subject length" which I don't think applies to preg_split().

At the very least, the message (or code comments) should include a pointer to
where more information can be found.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to