X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMostimages.php;h=1339f4bcbb450317ed87a2e2f09f2b2d47caf8bd;hb=7baed424895d4fe38aa8a7215384724685eca88f;hp=36669641298f9da6ff89c10637dfd8b76defd16b;hpb=96dd55fde17f13f61060c5786ef4076742af9272;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMostimages.php b/includes/specials/SpecialMostimages.php index 3666964129..1339f4bcbb 100644 --- a/includes/specials/SpecialMostimages.php +++ b/includes/specials/SpecialMostimages.php @@ -43,18 +43,18 @@ class MostimagesPage extends ImageQueryPage { } function getQueryInfo() { - return array( - 'tables' => array( 'imagelinks' ), - 'fields' => array( + return [ + 'tables' => [ 'imagelinks' ], + 'fields' => [ 'namespace' => NS_FILE, 'title' => 'il_to', 'value' => 'COUNT(*)' - ), - 'options' => array( + ], + 'options' => [ 'GROUP BY' => 'il_to', 'HAVING' => 'COUNT(*) > 1' - ) - ); + ] + ]; } function getCellHtml( $row ) {