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

           Summary: Import produces errors with php 5.2 and before.
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Export/Import
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=7519)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7519)
func_get_args_fix-r68654.patch

Using r68654 and php 5.2.13 attempting to import an XML file via Special:Import
produces the following error:
Fatal error: func_get_args(): Can't be used as a function parameter in
.../includes/ImportXMLReader.php on line 216

Using func_get_args directly a function parameter is only possible in php 5.3
and above, see http://php.net/manual/en/function.func-get-args.php

The attached patch fixes this problem.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to