Followup to r98839 and r98851 according to Nikerabbit's suggestions: Xml -> Html...
authorAmir E. Aharoni <amire80@users.mediawiki.org>
Wed, 5 Oct 2011 06:45:11 +0000 (06:45 +0000)
committerAmir E. Aharoni <amire80@users.mediawiki.org>
Wed, 5 Oct 2011 06:45:11 +0000 (06:45 +0000)
includes/ChangesList.php

index 5a797f6..4b25489 100644 (file)
@@ -215,9 +215,10 @@ class ChangesList extends ContextSource {
                if ( $szdiff < 0 ) {
                        $formattedSizeClass = 'mw-plusminus-neg';
                }
-               return Xml::element($tag,
-                       array('dir' => 'ltr', 'class' => $formattedSizeClass),
-                       "($formattedSize)");
+
+               return Html::element( $tag,
+                       array( 'dir' => 'ltr', 'class' => $formattedSizeClass ),
+                       "($formattedSize)" );
        }
 
        /**