X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUncategorizedimages.php;h=ed2d5cfbc84eab2c4d168171b0e5e9811f682e68;hp=9060f53a834704c588df5377b79c7592f0ea770d;hb=bd5a37aacf600bdd5f3a6e7998f92bd1d9326a8a;hpb=0e675650aed26a742a9c2173d9469647a9f42bcc diff --git a/includes/specials/SpecialUncategorizedimages.php b/includes/specials/SpecialUncategorizedimages.php index 9060f53a83..ed2d5cfbc8 100644 --- a/includes/specials/SpecialUncategorizedimages.php +++ b/includes/specials/SpecialUncategorizedimages.php @@ -31,6 +31,7 @@ class UncategorizedImagesPage extends ImageQueryPage { function __construct( $name = 'Uncategorizedimages' ) { parent::__construct( $name ); + $this->addHelpLink( 'Help:Categories' ); } function sortDescending() { @@ -46,17 +47,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() {