From 10a126ce1b1564675a8e3580a075176f127c4032 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 30 Nov 2017 15:19:10 -0800 Subject: [PATCH] resourceloader: Remove deprecated minifier config vars Unused, their values have been hard-coded since 1.27. No uses anywhere in Wikimedia Git, besides their definition in this file. Change-Id: I6689274d0ad028e2c468560816ab753b345048e9 --- RELEASE-NOTES-1.31 | 2 ++ includes/DefaultSettings.php | 17 ----------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index b32e3e755e..4b55f4bd0e 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -17,6 +17,8 @@ production. not have the right to mark things patrolled. * Wikis that contain imported revisions or CentralAuth global blocks should run maintenance/cleanupUsersWithNoId.php. +* $wgResourceLoaderMinifierStatementsOnOwnLine and $wgResourceLoaderMinifierMaxLineLength + were removed (deprecated since 1.27). === New features in 1.31 === * Wikimedia\Rdbms\IDatabase->select() and similar methods now support diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index cc9622e8cc..21efb283f4 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3685,23 +3685,6 @@ $wgResourceLoaderMaxage = [ */ $wgResourceLoaderDebug = false; -/** - * Put each statement on its own line when minifying JavaScript. This makes - * debugging in non-debug mode a bit easier. - * - * @deprecated since 1.27: Always false; no longer configurable. - */ -$wgResourceLoaderMinifierStatementsOnOwnLine = false; - -/** - * Maximum line length when minifying JavaScript. This is not a hard maximum: - * the minifier will try not to produce lines longer than this, but may be - * forced to do so in certain cases. - * - * @deprecated since 1.27: Always 1,000; no longer configurable. - */ -$wgResourceLoaderMinifierMaxLineLength = 1000; - /** * Whether to ensure the mediawiki.legacy library is loaded before other modules. * -- 2.20.1