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
Update git submodules
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialMIMEsearch.php
diff --git
a/includes/specials/SpecialMIMEsearch.php
b/includes/specials/SpecialMIMEsearch.php
index
7087cff
..
a54d72d
100644
(file)
--- a/
includes/specials/SpecialMIMEsearch.php
+++ b/
includes/specials/SpecialMIMEsearch.php
@@
-56,8
+56,9
@@
class MIMEsearchPage extends QueryPage {
// Allow wildcard searching
$minorType['img_minor_mime'] = $this->minor;
}
// Allow wildcard searching
$minorType['img_minor_mime'] = $this->minor;
}
+ $imgQuery = LocalFile::getQueryInfo();
$qi = [
$qi = [
- 'tables' =>
[ 'image'
],
+ 'tables' =>
$imgQuery['tables'
],
'fields' => [
'namespace' => NS_FILE,
'title' => 'img_name',
'fields' => [
'namespace' => NS_FILE,
'title' => 'img_name',
@@
-67,7
+68,7
@@
class MIMEsearchPage extends QueryPage {
'img_size',
'img_width',
'img_height',
'img_size',
'img_width',
'img_height',
- 'img_user_text',
+ 'img_user_text'
=> $imgQuery['fields']['img_user_text']
,
'img_timestamp'
],
'conds' => [
'img_timestamp'
],
'conds' => [
@@
-86,8
+87,10
@@
class MIMEsearchPage extends QueryPage {
MEDIATYPE_TEXT,
MEDIATYPE_EXECUTABLE,
MEDIATYPE_ARCHIVE,
MEDIATYPE_TEXT,
MEDIATYPE_EXECUTABLE,
MEDIATYPE_ARCHIVE,
+ MEDIATYPE_3D,
],
] + $minorType,
],
] + $minorType,
+ 'join_conds' => $imgQuery['joins'],
];
return $qi;
];
return $qi;