diff options
author | Amir Sarabadani <ladsgroup@gmail.com> | 2023-02-16 20:27:21 +0100 |
---|---|---|
committer | Amir Sarabadani <ladsgroup@gmail.com> | 2023-02-16 20:40:01 +0100 |
commit | 7d8768e931509a32958402d9719354f5c4ea0c14 (patch) | |
tree | 084187df207d9544fe0e1b5efc85fdd4f93d128f /includes/widget | |
parent | 805d63fa4ad883cf3a34648e620dc2b8ef33d9fc (diff) | |
download | mediawikicore-7d8768e931509a32958402d9719354f5c4ea0c14.tar.gz mediawikicore-7d8768e931509a32958402d9719354f5c4ea0c14.zip |
Reorg: Move HTML-related classes out of includes/ to Html/
Bug: T321882
Change-Id: I5dc1f7e9c303cd3f5b9dd7010d6bb470d8400a18
Diffstat (limited to 'includes/widget')
-rw-r--r-- | includes/widget/NamespaceInputWidget.php | 2 | ||||
-rw-r--r-- | includes/widget/SpinnerWidget.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/widget/NamespaceInputWidget.php b/includes/widget/NamespaceInputWidget.php index e8504a16bf2f..1f151280829b 100644 --- a/includes/widget/NamespaceInputWidget.php +++ b/includes/widget/NamespaceInputWidget.php @@ -44,7 +44,7 @@ class NamespaceInputWidget extends \OOUI\DropdownInputWidget { 'in-user-lang' => $config['userLang'] ?? false, 'exclude' => $config['exclude'] ?? null ]; - $namespaceOptions = \Html::namespaceSelectorOptions( $namespaceOptionsParams ); + $namespaceOptions = \MediaWiki\Html\Html::namespaceSelectorOptions( $namespaceOptionsParams ); $options = []; foreach ( $namespaceOptions as $id => $name ) { diff --git a/includes/widget/SpinnerWidget.php b/includes/widget/SpinnerWidget.php index 2db99cdd66a1..71f26f7521af 100644 --- a/includes/widget/SpinnerWidget.php +++ b/includes/widget/SpinnerWidget.php @@ -47,7 +47,7 @@ class SpinnerWidget { * @return string HTML serialization */ public function toString() { - return \Html::rawElement( 'div', $this->attributes, $this->content ); + return \MediaWiki\Html\Html::rawElement( 'div', $this->attributes, $this->content ); } /** |