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
Move Special:ChangeContentModel to the pagetools special page group
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUnusedimages.php
diff --git
a/includes/specials/SpecialUnusedimages.php
b/includes/specials/SpecialUnusedimages.php
index
743c587
..
36ec09e
100644
(file)
--- a/
includes/specials/SpecialUnusedimages.php
+++ b/
includes/specials/SpecialUnusedimages.php
@@
-44,7
+44,6
@@
class UnusedimagesPage extends ImageQueryPage {
}
function getQueryInfo() {
}
function getQueryInfo() {
- global $wgCountCategorizedImagesAsUsed;
$retval = array(
'tables' => array( 'image', 'imagelinks' ),
'fields' => array(
$retval = array(
'tables' => array( 'image', 'imagelinks' ),
'fields' => array(
@@
-58,7
+57,7
@@
class UnusedimagesPage extends ImageQueryPage {
'join_conds' => array( 'imagelinks' => array( 'LEFT JOIN', 'il_to = img_name' ) )
);
'join_conds' => array( 'imagelinks' => array( 'LEFT JOIN', 'il_to = img_name' ) )
);
- if ( $
wgCountCategorizedImagesAsUsed
) {
+ if ( $
this->getConfig()->get( 'CountCategorizedImagesAsUsed' )
) {
// Order is significant
$retval['tables'] = array( 'image', 'page', 'categorylinks',
'imagelinks' );
// Order is significant
$retval['tables'] = array( 'image', 'page', 'categorylinks',
'imagelinks' );