X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUncategorizedimages.php;h=9060f53a834704c588df5377b79c7592f0ea770d;hb=145f1c1bb4dfa6e173bdd5dcbabfedbe91722daf;hp=3bfcedece34417885b40f1a3b928fcec1c6484db;hpb=1e8a9aba9ca7f604f2af34b7d3e2efffc05888f1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUncategorizedimages.php b/includes/specials/SpecialUncategorizedimages.php index 3bfcedece3..9060f53a83 100644 --- a/includes/specials/SpecialUncategorizedimages.php +++ b/includes/specials/SpecialUncategorizedimages.php @@ -26,10 +26,9 @@ * Special page lists images which haven't been categorised * * @ingroup SpecialPage + * @todo FIXME: Use an instance of UncategorizedPagesPage or something */ -// @todo FIXME: Use an instance of UncategorizedPagesPage or something class UncategorizedImagesPage extends ImageQueryPage { - function __construct( $name = 'Uncategorizedimages' ) { parent::__construct( $name ); } @@ -50,13 +49,13 @@ class UncategorizedImagesPage extends ImageQueryPage { return array( 'tables' => array( 'page', 'categorylinks' ), 'fields' => array( 'namespace' => 'page_namespace', - 'title' => 'page_title', - 'value' => 'page_title' ), + 'title' => 'page_title', + 'value' => 'page_title' ), 'conds' => array( 'cl_from IS NULL', - 'page_namespace' => NS_FILE, - 'page_is_redirect' => 0 ), + 'page_namespace' => NS_FILE, + 'page_is_redirect' => 0 ), 'join_conds' => array( 'categorylinks' => array( - 'LEFT JOIN', 'cl_from=page_id' ) ) + 'LEFT JOIN', 'cl_from=page_id' ) ) ); }