From eb0f44d4d8bcdcd2c4538357366ef8b61ac04983 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Wed, 23 May 2018 15:00:46 -0700 Subject: [PATCH] Drop $wgStyleVersion, deprecated in 1.31 and now unused Bug: T181318 Change-Id: Ib988f3118786debda135d6ad3d27deda5a51fc8a --- RELEASE-NOTES-1.32 | 2 ++ includes/DefaultSettings.php | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index f1efd4fc03..06feb536c8 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -107,6 +107,8 @@ because of Phabricator reports. * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was removed. Use mediawiki.widgets.visibleLengthLimit instead. * The jquery.farbtastic module, unused since 1.18, was removed. +* (T181318) The $wgStyleVersion setting and its appendage to various script and + style URLs in OutputPage, deprecated in 1.31, was removed. === Deprecations in 1.32 === * Use of a StartProfiler.php file is deprecated in favour of placing diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 87ca0168bd..e253c83e22 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2565,17 +2565,6 @@ $wgCacheEpoch = '20030516000000'; */ $wgGitInfoCacheDirectory = false; -/** - * Bump this number when changing the global style sheets and JavaScript. - * - * It should be appended in the query string of static CSS and JS includes, - * to ensure that client-side caches do not keep obsolete copies of global - * styles. - * - * @deprecated since 1.31 - */ -$wgStyleVersion = '303'; - /** * This will cache static pages for non-logged-in users to reduce * database traffic on public sites. ResourceLoader requests to default -- 2.20.1