mediawiki-skins-Vector/includes/FeatureManagement
Moh'd Khier Abualruz 37e8e4c929 feature(Vector): Add configurable font size exclusions
This patch introduces the ability to configure font size exclusions
for specific pages within the Vector skin, ensuring certain pages
always use a small font size. This change is part of ongoing improvements
to the Vector skin's customizability features.

Changes:
- Updated `skin.json` to include `VectorFontSizeConfigurableOptions`
- Added new i18n string `vector-feature-custom-font-size-exclusion-notice`
- Modified logic for font size exclusion handling in `FeatureManager.php`

Additional Notes:
- Affects testing and beta deployment environments, ensure relevant
  settings are updated in `LocalSettings.php`.
For testing and on beta deployment, these settings should be set in
the LocalSettings.php of the environment, example:

$wgVectorAppearance = [
    "logged_in" => true,
    "logged_out" => true,
    "beta" => true
];
$wgVectorFontSizeConfigurableOptions = [
	"exclude" => [
	"namespaces" => [ -1, 2, 6, 8, 10, 14, 100, 710, 828 ],
		"querystring" => [
			"action" => "edit|submit|diff|info|protect|delete|undelete|diff|history",
			"diff" => ".+"
		]
	]
];

Bug: T364887
Change-Id: I23b9c4fb63f35c7d27544197fead3ad7619c67f1
2024-05-15 19:19:38 +00:00
..
Requirements Separate generic ConfigHelper class from LimitedWidthContentRequirement 2024-03-20 00:23:51 +00:00
FeatureManager.php feature(Vector): Add configurable font size exclusions 2024-05-15 19:19:38 +00:00
FeatureManagerFactory.php Use context of FeatureManagerFactory in FeatureManager 2024-05-07 18:49:06 +00:00
Requirement.php Normalise PHP namespaces used in Vector 2022-05-23 09:32:40 +02:00
TODO.md featureManager: Add DynamicConfigRequirement requirement 2020-03-18 10:10:42 +00:00