From a9548bbdeb3f7c564696a6f9f33a5e28cf34b53c Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 9 May 2010 13:50:26 +0000 Subject: [PATCH] Drop XmlFunctions.php. It is no longer necessary to our evil plans. --- RELEASE-NOTES | 1 + includes/XmlFunctions.php | 86 --------------------------------------- 2 files changed, 1 insertion(+), 86 deletions(-) delete mode 100644 includes/XmlFunctions.php diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7a0fb5bfb9..97c67b8d07 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -37,6 +37,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN research into its user experience implications. * Added $wgJQueryVersion, $wgJQueryMinified and $wgJQueryOnEveryPage (true by default) to configure loading of jQuery by MediaWiki +* XmlFunctions.php has been removed. Use Xml the or Html classes as appropriate === New features in 1.17 === * (bug 10183) Users can now add personal styles and scripts to all skins via diff --git a/includes/XmlFunctions.php b/includes/XmlFunctions.php deleted file mode 100644 index 8cb8f3f542..0000000000 --- a/includes/XmlFunctions.php +++ /dev/null @@ -1,86 +0,0 @@ -"; -} -function HTMLnamespaceselector($selected = '', $allnamespaces = null ) { - wfDeprecated(__FUNCTION__); - return Xml::namespaceSelector( $selected, $allnamespaces ); -} -function wfSpan( $text, $class, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::span( $text, $class, $attribs ); -} -function wfInput( $name, $size=false, $value=false, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::input( $name, $size, $value, $attribs ); -} -function wfAttrib( $name, $present = true ) { - wfDeprecated(__FUNCTION__); - return Xml::attrib( $name, $present ); -} -function wfCheck( $name, $checked=false, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::check( $name, $checked, $attribs ); -} -function wfRadio( $name, $value, $checked=false, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::radio( $name, $value, $checked, $attribs ); -} -function wfLabel( $label, $id ) { - wfDeprecated(__FUNCTION__); - return Xml::label( $label, $id ); -} -function wfInputLabel( $label, $name, $id, $size=false, $value=false, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::inputLabel( $label, $name, $id, $size, $value, $attribs ); -} -function wfCheckLabel( $label, $name, $id, $checked=false, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::checkLabel( $label, $name, $id, $checked, $attribs ); -} -function wfRadioLabel( $label, $name, $value, $id, $checked=false, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::radioLabel( $label, $name, $value, $id, $checked, $attribs ); -} -function wfSubmitButton( $value, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::submitButton( $value, $attribs ); -} -function wfHidden( $name, $value, $attribs=array() ) { - wfDeprecated(__FUNCTION__); - return Xml::hidden( $name, $value, $attribs ); -} -function wfEscapeJsString( $string ) { - wfDeprecated(__FUNCTION__); - return Xml::escapeJsString( $string ); -} -function wfIsWellFormedXml( $text ) { - wfDeprecated(__FUNCTION__); - return Xml::isWellFormed( $text ); -} -function wfIsWellFormedXmlFragment( $text ) { - wfDeprecated(__FUNCTION__); - return Xml::isWellFormedXmlFragment( $text ); -} - -function wfBuildForm( $fields, $submitLabel ) { - wfDeprecated(__FUNCTION__); - return Xml::buildForm( $fields, $submitLabel ); -} -- 2.20.1