From: petarpetkovic Date: Mon, 18 Sep 2017 14:23:25 +0000 (+0200) Subject: Move New Filters opt-out preference to own section X-Git-Tag: 1.31.0-rc.0~2063^2 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=85df9a3a0e3d7b4b7464427aebb85e6156a4af9c;p=lhc%2Fweb%2Fwiklou.git 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 --- 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}}",