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

       Web browser: ---
            Bug ID: 47431
           Summary: JSON extension dependency has a non-free component
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Since gerrit 50140 was merged, MediaWiki has required the JSON PHP extension
to run. Unfortunately, I just found out the extension has a component with
a license that the Free Software Foundation considers to be non-free,
even though the extension is one of those bundled with PHP (and would
presumably be covered by the PHP License, which is a free license).

https://github.com/php/php-src/blob/master/ext/json/JSON_parser.c#L18
https://bugs.php.net/bug.php?id=63520
https://www.gnu.org/licenses/license-list.html#JSON

Until such time a version of the native JSON extension exists that does
not depend on any non-free component, MediaWiki should continue to provide
a pure PHP fallback under the terms of the GPL or another free license, or
at least make one easy to use if necessary.

Ideally, the fallback should implement the underlying json_encode and
json_decode functions, so MediaWiki extensions that call them directly
will work as intended.

-- 
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