Merge "Make Special:MediaStatistics show a total count of file sizes"
[lhc/web/wiklou.git] / includes / specials / SpecialAllMessages.php
index ed1c903..8109cc9 100644 (file)
@@ -446,7 +446,7 @@ class AllMessagesTablePager extends TablePager {
                        return array( 'class' => $field );
                } else {
                        return array(
-                               'lang' => wfBCP47( $this->langcode ),
+                               'lang' => $this->lang->getHtmlCode(),
                                'dir' => $this->lang->getDir(),
                                'class' => $field
                        );