0="something" is not what we want here, we want id
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 30 Jun 2010 23:08:41 +0000 (23:08 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 30 Jun 2010 23:08:41 +0000 (23:08 +0000)
Html should probably check for the case of missing keys in attributes.

includes/specials/SpecialListfiles.php

index 31a1ce8..3030127 100644 (file)
@@ -204,7 +204,7 @@ class ImageListPager extends TablePager {
                ) );
                $s = Html::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listfiles-form' ) ) .
                        Xml::fieldset( wfMsg( 'listfiles' ) ) .
-                       Html::openElement( 'table', array( 'mw-listfiles-table' ) ) .
+                       Html::openElement( 'table', array( 'id' => 'mw-listfiles-table' ) ) .
                        Xml::buildForm( $inputForm, 'table_pager_limit_submit' ) .
                        $this->getHiddenFields( array( 'limit', 'ilsearch', 'username' ) ) .
                        Html::closeElement( 'table' ) .