https://bugzilla.wikimedia.org/show_bug.cgi?id=60203
Web browser: ---
Bug ID: 60203
Summary: Warning: strpos(): Empty delimiter in
/.../AbuseFilter.parser.php on line 1912
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: AbuseFilter
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l