* (bug 15492) list=recentchanges&rctype=log does't list log action
[lhc/web/wiklou.git] / includes / XmlFunctions.php
index cbdcf5c..bc18a2c 100644 (file)
@@ -15,7 +15,7 @@ function wfOpenElement( $element, $attribs = null ) {
 function wfCloseElement( $element ) {
        return "</$element>";
 }
-function &HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) {
+function HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) {
        return Xml::namespaceSelector( $selected, $allnamespaces, $includehidden );
 }
 function wfSpan( $text, $class, $attribs=array() ) {
@@ -61,5 +61,6 @@ function wfIsWellFormedXmlFragment( $text ) {
        return Xml::isWellFormedXmlFragment( $text );
 }
 
-
-?>
+function wfBuildForm( $fields, $submitLabel ) {
+       return Xml::buildForm( $fields, $submitLabel );
+}