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

           Summary: Don't assume json availability
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: General/Unknown
        AssignedTo: d...@ucsc.edu
        ReportedBy: platoni...@gmail.com


ForeignAPIRepo and mwEmbed make use of json_decode, but that's only available
with PHP 5 >= 5.2.0 (or PECL json extension), conflicting with the requeriment
of just PHP 5.
Those cases should use the implementation from
include/api/ApiFormatJson_json.php if native json_decode isn't available.

Greg Sabino Mullani reports that not having json (default CentOS install)
produces 
PHP Fatal error:  Call to undefined function json_decode() in
/var/www/html/bucardo.org/mwp3/js2/mwEmbed/php/jsAutoloadLocalClasses.php on
line 23


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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