From e7ecd273d73ca031fd24f5c14eaf0849b01ffd30 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Mon, 28 Jul 2014 13:01:19 +0200 Subject: [PATCH] Remove Xml::namespaceSelector() (deprecated since 1.19) Change-Id: If4eaadda2f2533cdcebc692f90c43bdddab3d82b --- RELEASE-NOTES-1.24 | 1 + includes/Xml.php | 25 ------------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 0d2248b58e..9db0cceea8 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -337,6 +337,7 @@ changes to languages because of Bugzilla reports. * Removed cleanupForIRC(), loadFromCurRow(), newFromCurRow(), notifyRC2UDP() and sendToUDP() from RecentChange.php. (deprecated since 1.22) * Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow(). +* Removed Xml::namespaceSelector(). (deprecated since 1.19) ==== Renamed classes ==== * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression diff --git a/includes/Xml.php b/includes/Xml.php index 6df625898c..159f711464 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -134,31 +134,6 @@ class Xml { return self::openElement( $element, $attribs ) . $contents . ""; } - /** - * Build a drop-down box for selecting a namespace - * - * @param string $selected Namespace which should be pre-selected - * @param string|null $all Value of an item denoting all namespaces, or null to omit - * @param string $element_name Value of the "name" attribute of the select tag - * @param string $label Optional label to add to the field - * @return string - * @deprecated since 1.19 - */ - public static function namespaceSelector( $selected = '', $all = null, - $element_name = 'namespace', $label = null - ) { - wfDeprecated( __METHOD__, '1.19' ); - return Html::namespaceSelector( array( - 'selected' => $selected, - 'all' => $all, - 'label' => $label, - ), array( - 'name' => $element_name, - 'id' => 'namespace', - 'class' => 'namespaceselector', - ) ); - } - /** * Create a date selector * -- 2.20.1