Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/RELEASE-NOTES-1.44 b/RELEASE-NOTES-1.44
index 2b7fbf77a39..14594f60ef5 100644
--- a/RELEASE-NOTES-1.44
+++ b/RELEASE-NOTES-1.44
@@ -666,6 +666,7 @@ because of Phabricator reports.
- Xml::textarea() – use Html::element() instead
- Xml::submitButton() – use Html::submitButton() instead
- Xml::check() – use Html::check() instead
+ - Xml::radio() – use Html::radio() instead
* BlockUtils and BlockUtilsFactory is now deprecated. Use BlockTargetFactory
and CrossWikiBlockTargetFactory.
* RenameuserSQL::rename has been deprecated and should be replaced with
diff --git a/includes/xml/Xml.php b/includes/xml/Xml.php
index f5b74360170..01872182bf9 100644
--- a/includes/xml/Xml.php
+++ b/includes/xml/Xml.php
@@ -382,9 +382,11 @@ class Xml {
* @param array $attribs Other attributes
* @return string HTML
*
- * @deprecated since 1.42, use {@see Html::radio} instead
+ * @deprecated since 1.42, use {@see Html::radio} instead; emiting warnings since 1.44
*/
public static function radio( $name, $value, $checked = false, $attribs = [] ) {
+ wfDeprecated( __METHOD__, '1.42' );
+
return self::element( 'input', [
'name' => $name,
'type' => 'radio',

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:32 AM (17 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227568
Default Alt Text
(1 KB)

Event Timeline