Drop unused code relating to old limited width toggle.

Follow up to Ie2617e2fa83b6a888a7a2799cc39f048731dc60d

Bug: T367591
Change-Id: I270f1902f40946f31de29777735dee2e10ebfebe
This commit is contained in:
Jon Robson 2024-09-05 14:48:58 -07:00 committed by Jdlrobson
parent b6aff24d2c
commit 3fbf5b49f0
6 changed files with 0 additions and 21 deletions

View file

@ -63,9 +63,6 @@
"vector-toc-collapsible-button-label": "Toggle the table of contents",
"vector-site-nav-label": "Site",
"vector-main-menu-label": "Main menu",
"vector-limited-width-toggle": "Toggle limited content width",
"vector-limited-width-toggle-on-popup": "You have switched your layout to full width. To go back to limited width, press this button.",
"vector-limited-width-toggle-off-popup": "You can toggle between a limited width and full width by clicking this button.",
"vector-feature-custom-font-size-exclusion-notice" : "This page always uses small font size",
"vector-feature-limited-width-exclusion-notice": "The content is as wide as possible for your browser window.",
"vector-page-tools-label": "Tools",

View file

@ -80,9 +80,6 @@
"vector-toc-collapsible-button-label": "Used as the label for the table of contents collapsible toggle button",
"vector-site-nav-label": "Accessible label for site (main menu) nav landmark",
"vector-main-menu-label": "Main menu label",
"vector-limited-width-toggle": "Toggle for control to limit content width.",
"vector-limited-width-toggle-on-popup": "Hint that points out the limited width toggle control.",
"vector-limited-width-toggle-off-popup": "Hint that points out the limited width toggle control.",
"vector-feature-custom-font-size-exclusion-notice": "Notice when custom font size option is disabled.",
"vector-feature-limited-width-exclusion-notice": "Notice when limited width option is disabled.",
"vector-page-tools-label": "Label for the page tools pinnable dropdown\n{{identical|Tools}}",

View file

@ -253,16 +253,6 @@ final class Constants {
*/
public const PREF_KEY_APPEARANCE_PINNED = 'vector-appearance-pinned';
/**
* @var string
*/
public const FEATURE_APPEARANCE = 'Appearance';
/**
* @var string
*/
public const REQUIREMENT_APPEARANCE = 'Appearance';
/**
* @var string
*/

View file

@ -229,7 +229,6 @@ class FeatureManager {
// Note these classes are fixed and cannot be changed at runtime by JavaScript,
// only via modification to LocalSettings.php.
case Constants::FEATURE_NIGHT_MODE:
case Constants::FEATURE_APPEARANCE:
case Constants::FEATURE_LIMITED_WIDTH_CONTENT:
case Constants::FEATURE_LANGUAGE_IN_HEADER:
case Constants::FEATURE_LANGUAGE_IN_MAIN_PAGE_HEADER:

View file

@ -11,7 +11,6 @@
#vector-sticky-header,
#p-lang-btn,
.vector-menu-checkbox,
.vector-limited-width-toggle,
// Hide all navigation
nav,
#vector-page-titlebar-toc,

View file

@ -467,10 +467,7 @@
"mediawiki.jqueryMsg"
],
"messages": [
"vector-limited-width-toggle-on-popup",
"vector-limited-width-toggle-off-popup",
"vector-search-loader",
"vector-limited-width-toggle",
"vector-toc-beginning",
"vector-toc-label",
"vector-pin-element-label",