JavaScriptMinifier: Remove support for unused $maxLineLength param
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 11 Jan 2018 22:59:47 +0000 (22:59 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 11 Jan 2018 22:59:47 +0000 (22:59 +0000)
commitda786f6ae589b366954532c7e8cdbb454253d18b
treeb50959b6d03d652365ab493bdf453c96924a7038
parentd43cbc7ca9fc395cde05638f3fc5b8451f08cc29
JavaScriptMinifier: Remove support for unused $maxLineLength param

Follows-up 93b8023946b0e.

The $wgResourceLoaderMinifierMaxLineLength config var was deprecated
in MediaWiki 1.27. The parameter of minify() was not used by other
code, and no new usage has been introduced since then, either.

Remove the feature from JavaScriptMinifier, and add a release note.
The 1.31 release notes already contain a note about the removal
of the configuration variables.

The feature was not covered by unit tests.

Change-Id: I38eb4187e3a8e2d882f317481b43f0bf6ac3bada
RELEASE-NOTES-1.31
includes/libs/JavaScriptMinifier.php