dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Update phpCharToUpper.json based on current differences"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUnusedimages.php
diff --git
a/includes/specials/SpecialUnusedimages.php
b/includes/specials/SpecialUnusedimages.php
index
2cc1a7b
..
bcb3b85
100644
(file)
--- a/
includes/specials/SpecialUnusedimages.php
+++ b/
includes/specials/SpecialUnusedimages.php
@@
-50,8
+50,6
@@
class UnusedimagesPage extends ImageQueryPage {
'namespace' => NS_FILE,
'title' => 'img_name',
'value' => 'img_timestamp',
'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' ] ]
],
'conds' => [ 'il_to IS NULL' ],
'join_conds' => [ 'imagelinks' => [ 'LEFT JOIN', 'il_to = img_name' ] ]
@@
-78,6
+76,11
@@
class UnusedimagesPage extends ImageQueryPage {
}
function getPageHeader() {
}
function getPageHeader() {
+ if ( $this->getConfig()->get( 'CountCategorizedImagesAsUsed' ) ) {
+ return $this->msg(
+ 'unusedimagestext-categorizedimgisused'
+ )->parseAsBlock();
+ }
return $this->msg( 'unusedimagestext' )->parseAsBlock();
}
return $this->msg( 'unusedimagestext' )->parseAsBlock();
}