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
Add `actor` table and code to start using it
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialFileDuplicateSearch.php
diff --git
a/includes/specials/SpecialFileDuplicateSearch.php
b/includes/specials/SpecialFileDuplicateSearch.php
index
8021bc2
..
7694a61
100644
(file)
--- a/
includes/specials/SpecialFileDuplicateSearch.php
+++ b/
includes/specials/SpecialFileDuplicateSearch.php
@@
-85,15
+85,17
@@
class FileDuplicateSearchPage extends QueryPage {
}
public function getQueryInfo() {
}
public function getQueryInfo() {
+ $imgQuery = LocalFile::getQueryInfo();
return [
return [
- 'tables' =>
[ 'image'
],
+ 'tables' =>
$imgQuery['tables'
],
'fields' => [
'title' => 'img_name',
'value' => 'img_sha1',
'fields' => [
'title' => 'img_name',
'value' => 'img_sha1',
- 'img_user_text',
+ 'img_user_text'
=> $imgQuery['fields']['img_user_text']
,
'img_timestamp'
],
'img_timestamp'
],
- 'conds' => [ 'img_sha1' => $this->hash ]
+ 'conds' => [ 'img_sha1' => $this->hash ],
+ 'join_conds' => $imgQuery['joins'],
];
}
];
}