mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
Merge "Make max-width the default for modern Vector"
This commit is contained in:
commit
3bc308039c
|
@ -69,11 +69,6 @@ final class Constants {
|
|||
public const CONFIG_KEY_DEFAULT_SIDEBAR_VISIBLE_FOR_ANONYMOUS_USER =
|
||||
'VectorDefaultSidebarVisibleForAnonymousUser';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const CONFIG_KEY_LAYOUT_MAX_WIDTH = 'VectorLayoutMaxWidth';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
|
|
@ -263,9 +263,7 @@ class Hooks {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( self::getConfig( Constants::CONFIG_KEY_LAYOUT_MAX_WIDTH ) ) {
|
||||
$bodyAttrs['class'] .= ' skin-vector-max-width';
|
||||
}
|
||||
$bodyAttrs['class'] .= ' skin-vector-max-width';
|
||||
|
||||
// As of 2020/08/12, the following CSS classes are referred to by the following deployed
|
||||
// extensions:
|
||||
|
|
|
@ -198,10 +198,6 @@
|
|||
"VectorDefaultSidebarVisibleForAnonymousUser": {
|
||||
"value": false
|
||||
},
|
||||
"VectorLayoutMaxWidth": {
|
||||
"value": false,
|
||||
"description": "@var boolean Enables the max-width layout for the latest version of Vector. This is intended to be a very short-lived feature flag whose sole purpose is to derisk the deployment of T246420. It should be removed (and made the default) as quickly as possible."
|
||||
},
|
||||
"VectorDisableSidebarPersistence": {
|
||||
"value": false,
|
||||
"description": "@var boolean Temporary feature flag that disables saving the sidebar expanded/collapsed state as a user-preference (triggered via clicking the main menu icon). This is intended as a temporary kill-switch in the event that the DB is overloaded with writes to the user_options table."
|
||||
|
|
Loading…
Reference in a new issue