use Xml::tags() instead of Xml::element() in SpecialInterwiki::error() so as not...
authorAlex Z <mrzman@users.mediawiki.org>
Sat, 27 Dec 2008 20:17:53 +0000 (20:17 +0000)
committerAlex Z <mrzman@users.mediawiki.org>
Sat, 27 Dec 2008 20:17:53 +0000 (20:17 +0000)
includes/specials/SpecialInterwiki.php

index 56ef2ae..83b26e3 100644 (file)
@@ -269,6 +269,6 @@ class SpecialInterwiki extends SpecialPage {
        
        function error( $msg ) {
                global $wgOut;
-               $wgOut->addHTML( Xml::element('p', array( 'class' => 'error' ), $msg ) );
+               $wgOut->addHTML( Xml::tags( 'p', array( 'class' => 'error' ), $msg ) );
        }
 }