diff options
author | Ebrahim Byagowi <ebrahim@gnu.org> | 2024-05-16 15:58:33 +0330 |
---|---|---|
committer | Ebrahim Byagowi <ebrahim@gnu.org> | 2024-05-16 16:28:01 +0330 |
commit | a717db8e6088ee2bdc64677d15702bb0ce6fadef (patch) | |
tree | a5319c68f934ff1f1639a12fe3abe3e209fd7aee /includes/htmlform/fields/HTMLAutoCompleteSelectField.php | |
parent | 0adf848c6fd04288c565c1712533c7387b69a662 (diff) | |
download | mediawikicore-a717db8e6088ee2bdc64677d15702bb0ce6fadef.tar.gz mediawikicore-a717db8e6088ee2bdc64677d15702bb0ce6fadef.zip |
Add namespace and deprecation alias to FormatJson
This patch introduces a namespace declaration for the
MediaWiki\Json to FormatJson and establishes a class
alias marked as deprecated since version 1.43.
Bug: T353458
Change-Id: I5e1311e4eb7a878a7db319b725ae262f40671c32
Diffstat (limited to 'includes/htmlform/fields/HTMLAutoCompleteSelectField.php')
-rw-r--r-- | includes/htmlform/fields/HTMLAutoCompleteSelectField.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/htmlform/fields/HTMLAutoCompleteSelectField.php b/includes/htmlform/fields/HTMLAutoCompleteSelectField.php index 88a7960a24c8..840c82bf6c3b 100644 --- a/includes/htmlform/fields/HTMLAutoCompleteSelectField.php +++ b/includes/htmlform/fields/HTMLAutoCompleteSelectField.php @@ -2,9 +2,9 @@ namespace MediaWiki\HTMLForm\Field; -use FormatJson; use InvalidArgumentException; use MediaWiki\HTMLForm\HTMLFormField; +use MediaWiki\Json\FormatJson; use MediaWiki\Xml\XmlSelect; /** |