diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
commit | b9b85843572bf283f48285001e276ba7e61b63f6 (patch) | |
tree | 4c6f4571552ada9ccfb4030481dcf77308f8b254 /includes/XmlFunctions.php | |
parent | d9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff) |
updated to MediaWiki 1.14.0
Diffstat (limited to 'includes/XmlFunctions.php')
-rw-r--r-- | includes/XmlFunctions.php | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/includes/XmlFunctions.php b/includes/XmlFunctions.php index bc18a2cd..8cb8f3f5 100644 --- a/includes/XmlFunctions.php +++ b/includes/XmlFunctions.php @@ -4,63 +4,83 @@ * Look at the Xml class (Xml.php) for the implementations. */ function wfElement( $element, $attribs = null, $contents = '') { + wfDeprecated(__FUNCTION__); return Xml::element( $element, $attribs, $contents ); } function wfElementClean( $element, $attribs = array(), $contents = '') { + wfDeprecated(__FUNCTION__); return Xml::elementClean( $element, $attribs, $contents ); } function wfOpenElement( $element, $attribs = null ) { + wfDeprecated(__FUNCTION__); return Xml::openElement( $element, $attribs ); } function wfCloseElement( $element ) { + wfDeprecated(__FUNCTION__); return "</$element>"; } -function HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) { - return Xml::namespaceSelector( $selected, $allnamespaces, $includehidden ); +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 ); } |