Fix for r41837 -- apply HTML stripping to explicit alt text as well as implicit.
[lhc/web/wiklou.git] / includes / XmlFunctions.php
index 0241284..b31ac89 100644 (file)
@@ -15,11 +15,8 @@ function wfOpenElement( $element, $attribs = null ) {
 function wfCloseElement( $element ) {
        return "</$element>";
 }
-function HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) {
-       return Xml::namespaceSelector( $selected, $allnamespaces, $includehidden );
-}
-function HTMLmonthelector($selected = '', $allmonths = null) {          
-       return Xml::monthSelector( $selected, $allmonths );      
+function HTMLnamespaceselector($selected = '', $allnamespaces = null ) {
+       return Xml::namespaceSelector( $selected, $allnamespaces );
 }
 function wfSpan( $text, $class, $attribs=array() ) {
        return Xml::span( $text, $class, $attribs );
@@ -64,5 +61,6 @@ function wfIsWellFormedXmlFragment( $text ) {
        return Xml::isWellFormedXmlFragment( $text );
 }
 
-
-
+function wfBuildForm( $fields, $submitLabel ) {
+       return Xml::buildForm( $fields, $submitLabel );
+}