From 85df9a3a0e3d7b4b7464427aebb85e6156a4af9c Mon Sep 17 00:00:00 2001 From: petarpetkovic Date: Mon, 18 Sep 2017 16:23:25 +0200 Subject: [PATCH] Move New Filters opt-out preference to own section - Add a new section to preference page with the following title: "Opt out of improvements". - Move the opt-out option and explanatory text to this new section. Bug: T175765 Change-Id: Iaf77df2eec714777f54b95b58eb617b5e35bef75 --- includes/Preferences.php | 2 +- languages/i18n/en.json | 1 + languages/i18n/qqq.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/Preferences.php b/includes/Preferences.php index dfc2475fb0..a7e6684bb3 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -974,7 +974,7 @@ class Preferences { if ( $config->get( 'StructuredChangeFiltersShowPreference' ) ) { $defaultPreferences['rcenhancedfilters-disable'] = [ 'type' => 'toggle', - 'section' => 'rc/advancedrc', + 'section' => 'rc/opt-out', 'label-message' => 'rcfilters-preference-label', 'help-message' => 'rcfilters-preference-help', ]; diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 75e0c5cbcc..47e62055f0 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1107,6 +1107,7 @@ "prefs-editor": "Editor", "prefs-preview": "Preview", "prefs-advancedrc": "Advanced options", + "prefs-opt-out": "Opt out of improvements", "prefs-advancedrendering": "Advanced options", "prefs-advancedsearchoptions": "Advanced options", "prefs-advancedwatchlist": "Advanced options", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 8ec53bfbca..0a6e91bef6 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -1299,6 +1299,7 @@ "prefs-editor": "Used in [[Special:Preferences]], tab \"Editing\" ({{int:prefs-editing}}).\n\n{{Identical|Editor}}", "prefs-preview": "Used in [[Special:Preferences]], tab \"Editing\".\n{{Identical|Preview}}", "prefs-advancedrc": "Used in [[Special:Preferences]], tab \"Recent changes\".\n{{Identical|Advanced options}}", + "prefs-opt-out": "Used in [[Special:Preferences]], tab \"Recent changes\".", "prefs-advancedrendering": "Used in [[Special:Preferences]], tab \"Appearence\".\n{{Identical|Advanced options}}", "prefs-advancedsearchoptions": "Used in [[Special:Preferences]], tab \"Search options\".\n{{Identical|Advanced options}}", "prefs-advancedwatchlist": "Used in [[Special:Preferences]], tab \"Watchlist\".\n{{Identical|Advanced options}}", -- 2.20.1