Upstream EasyDeflate library from VisualEditor
authorEd Sanders <esanders@wikimedia.org>
Fri, 15 Sep 2017 15:25:52 +0000 (16:25 +0100)
committerEsanders <esanders@wikimedia.org>
Sun, 10 Jun 2018 14:35:27 +0000 (14:35 +0000)
commit230e90b2af40ee83e00bd580bcfec2479698d63e
treeddd811ffc8e129678f22ed9d2d898d806ed42a44
parente03b96c9a474831fb1b1d1fc1e6cd2de496dc251
Upstream EasyDeflate library from VisualEditor

The library is used to compress large documents before
sending to the server, as HTTP doesn't support upload compression.
(See T68914 for context.)

N.B. Many of the polyfills in the original are omitted as
MediaWiki doesn't support browsers which require them.

Co-Authored-by: Kunal Mehta <legoktm@member.fsf.org>
Change-Id: I12a5879188f46f17dc4c33bdad52317d218d4172
autoload.php
includes/libs/EasyDeflate.php [new file with mode: 0644]
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/lib/easy-deflate/README.md [new file with mode: 0644]
resources/lib/easy-deflate/deflate.js [new file with mode: 0644]
resources/lib/easy-deflate/easydeflate.js [new file with mode: 0644]
resources/lib/easy-deflate/inflate.js [new file with mode: 0644]
tests/phpunit/includes/libs/EasyDeflateTest.php [new file with mode: 0644]