Add .pipeline/ with dev image variant
[lhc/web/wiklou.git] / includes / specials / SpecialUnusedimages.php
index 2cc1a7b..bcb3b85 100644 (file)
@@ -50,8 +50,6 @@ class UnusedimagesPage extends ImageQueryPage {
                                'namespace' => NS_FILE,
                                'title' => 'img_name',
                                'value' => 'img_timestamp',
-                               'img_user', 'img_user_text',
-                               'img_description'
                        ],
                        'conds' => [ 'il_to IS NULL' ],
                        'join_conds' => [ 'imagelinks' => [ 'LEFT JOIN', 'il_to = img_name' ] ]
@@ -78,6 +76,11 @@ class UnusedimagesPage extends ImageQueryPage {
        }
 
        function getPageHeader() {
+               if ( $this->getConfig()->get( 'CountCategorizedImagesAsUsed' ) ) {
+                       return $this->msg(
+                               'unusedimagestext-categorizedimgisused'
+                       )->parseAsBlock();
+               }
                return $this->msg( 'unusedimagestext' )->parseAsBlock();
        }