Page MenuHomePhabricator

AbuseFilter requires functions which may be unavailable with Windows
Closed, ResolvedPublic

Description

Author: mike.lifeguard+bugs

Description:
In the theme of r42637 which fixed fnmatch(), please double-check compatibility with Windows.

My results for phptest.php:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Tech U>C:\xampp\php\php.exe C:\xampp\htdocs\mediawiki\
extensions\AbuseFilter\phpTest.php
Trying test arith.t...
-PASSED.
Trying test cast.t...
-PASSED.
Trying test ccnorm.t...
-PASSED.
Trying test comment.t...
-PASSED.
Trying test count.t...
-PASSED.
Trying test date1.t...
-FAILED - exception Expected ) at char 22 with input ("2008-01-02 00:00:00"d < "
2008-01-03 00:00:00"d) & ("2008-01-02 00:00:00"d < "2008-01-03 00:00:00"d)
Trying test date2.t...
-FAILED - exception Unexpected T_ID at char 21 with input "2008-01-01 00:00:00"d
+ 1 days = "2008-01-02 00:00:00"d
Trying test eq.t...
-PASSED.
Trying test float.t...
-PASSED.
Trying test ifthen.t...
-PASSED.
Trying test in.t...
-PASSED.
Trying test lcase.t...
-PASSED.
Trying test length.t...
-PASSED.
Trying test like.t...
Fatal error: Call to undefined function fnmatch() in C:\xampp\htdocs\mediawiki\
extensions\AbuseFilter\AbuseFilter.parser.php on line 145

C:\Documents and Settings\Tech U>


Version: unspecified
Severity: normal
OS: Windows XP

Details

Reference
bz16168

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:17 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz16168.