X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUncategorizedimages.php;h=1cb27a3fc6b1305aa70da98670074389d90f4544;hb=4774d1e0ac2dedda44de7b16f9ec16f0c36ebdc2;hp=9060f53a834704c588df5377b79c7592f0ea770d;hpb=1b22b7a14d1913390a14167bf2b6224203094be9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUncategorizedimages.php b/includes/specials/SpecialUncategorizedimages.php index 9060f53a83..1cb27a3fc6 100644 --- a/includes/specials/SpecialUncategorizedimages.php +++ b/includes/specials/SpecialUncategorizedimages.php @@ -46,17 +46,17 @@ class UncategorizedImagesPage extends ImageQueryPage { } function getQueryInfo() { - return array( - 'tables' => array( 'page', 'categorylinks' ), - 'fields' => array( 'namespace' => 'page_namespace', + return [ + 'tables' => [ 'page', 'categorylinks' ], + 'fields' => [ 'namespace' => 'page_namespace', 'title' => 'page_title', - 'value' => 'page_title' ), - 'conds' => array( 'cl_from IS NULL', + 'value' => 'page_title' ], + 'conds' => [ 'cl_from IS NULL', 'page_namespace' => NS_FILE, - 'page_is_redirect' => 0 ), - 'join_conds' => array( 'categorylinks' => array( - 'LEFT JOIN', 'cl_from=page_id' ) ) - ); + 'page_is_redirect' => 0 ], + 'join_conds' => [ 'categorylinks' => [ + 'LEFT JOIN', 'cl_from=page_id' ] ] + ]; } protected function getGroupName() {