Remove $wgUseMediaWikiUIEverywhere

MediaWiki UI has never really made it out of beta before being
deprecated. Legacy code using plain HTML forms doesn't need it;
new code can be written using Codex.

Bug: T182050
Change-Id: Ib9966bc6a4a94f771cb99a5aa52fb6a1dc826ca5
This commit is contained in:
Bartosz Dziewoński 2024-02-03 01:13:44 +01:00 committed by James D. Forrester
parent ee60406617
commit be135c0fc0
6 changed files with 1 additions and 32 deletions

View file

@ -62,6 +62,7 @@ For notes on 1.41.x and older releases, see HISTORY.
Register an extension tag named <img> instead.
* $wgMinimalPasswordLength and $wgMaximalPasswordLength, deprecated since 1.26
have been dropped. Use $wgPasswordPolicy instead.
* $wgUseMediaWikiUIEverywhere has been removed.
* …
=== New user-facing features in 1.42 ===

View file

@ -3188,13 +3188,6 @@ config-schema:
This global allows skins or extensions a means to force non-table based rendering.
Setting to false forces form components to always render as div elements.
@since 1.24
UseMediaWikiUIEverywhere:
default: false
description: |-
Temporary variable that applies MediaWiki UI wherever it can be supported.
Temporary variable that should be removed when mediawiki ui is more
stable and change has been communicated.
@since 1.24
EditSubmitButtonLabelPublish:
default: false
description: |-

View file

@ -1940,12 +1940,6 @@ $wgHtml5Version = null;
*/
$wgHTMLFormAllowTableFormat = null;
/**
* Config variable stub for the UseMediaWikiUIEverywhere setting, for use by phpdoc and IDEs.
* @see MediaWiki\MainConfigSchema::UseMediaWikiUIEverywhere
*/
$wgUseMediaWikiUIEverywhere = null;
/**
* Config variable stub for the EditSubmitButtonLabelPublish setting, for use by phpdoc and IDEs.
* @see MediaWiki\MainConfigSchema::EditSubmitButtonLabelPublish

View file

@ -1955,12 +1955,6 @@ class MainConfigNames {
*/
public const HTMLFormAllowTableFormat = 'HTMLFormAllowTableFormat';
/**
* Name constant for the UseMediaWikiUIEverywhere setting, for use with Config::get()
* @see MainConfigSchema::UseMediaWikiUIEverywhere
*/
public const UseMediaWikiUIEverywhere = 'UseMediaWikiUIEverywhere';
/**
* Name constant for the EditSubmitButtonLabelPublish setting, for use with Config::get()
* @see MainConfigSchema::EditSubmitButtonLabelPublish

View file

@ -5134,18 +5134,6 @@ class MainConfigSchema {
'default' => true,
];
/**
* Temporary variable that applies MediaWiki UI wherever it can be supported.
*
* Temporary variable that should be removed when mediawiki ui is more
* stable and change has been communicated.
*
* @since 1.24
*/
public const UseMediaWikiUIEverywhere = [
'default' => false,
];
/**
* Whether to label the store-to-database-and-show-to-others button in the editor
* as "Save page"/"Save changes" if false (the default) or, if true, instead as

View file

@ -625,7 +625,6 @@ return [
'MimeType' => 'text/html',
'Html5Version' => null,
'HTMLFormAllowTableFormat' => true,
'UseMediaWikiUIEverywhere' => false,
'EditSubmitButtonLabelPublish' => false,
'XhtmlNamespaces' => [
],