mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 15:26:47 +00:00
Drop unused code relating to old limited width toggle.
Follow up to Ie2617e2fa83b6a888a7a2799cc39f048731dc60d Bug: T367591 Change-Id: I270f1902f40946f31de29777735dee2e10ebfebe
This commit is contained in:
parent
b6aff24d2c
commit
3fbf5b49f0
|
@ -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",
|
||||
|
|
|
@ -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}}",
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue