Last modified: 2014-01-21 20:54:20 UTC
Warning triggered in our wiki when uploading, moving, deleting a file or deleting a page ... In this cases, the var $needle isn't defined (I don't know why), so strpos fails. I manually fixed this warning in our wiki by adding if (isset($needle)) { ... } around the foreach-part in at line 1912 https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FAbuseFilter/9c1d878b76ff9e2f65fda6556b1fec0b67e1bb1f/AbuseFilter.parser.php#L1912
This looks like it's related to one of your specific filters. What filters are you using?
Ohh, I'm such an idiot ... I didn't think of our filters ... ;) this filter was causing it: contains_any( lcase ( rmwhitespace (added_lines) ), "{{trash}}", "{{dorftrottel}}", "{{schmiede}}", ) & article_namespace != 10
Change 108220 had a related patch set uploaded by Jackmcbarn: Don't pass empty strings to strpos https://gerrit.wikimedia.org/r/108220
By the way, the problem happened to you because of the extra comma after the last parameter to contains_any.
thank you :)
Change 108220 merged by jenkins-bot: Don't pass empty strings to strpos https://gerrit.wikimedia.org/r/108220