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
Do not insert page titles into querycache.qc_value
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUncategorizedImages.php
diff --git
a/includes/specials/SpecialUncategorizedImages.php
b/includes/specials/SpecialUncategorizedImages.php
index
9dcd1bd
..
67a2edb
100644
(file)
--- a/
includes/specials/SpecialUncategorizedImages.php
+++ b/
includes/specials/SpecialUncategorizedImages.php
@@
-46,17
+46,28
@@
class SpecialUncategorizedImages extends ImageQueryPage {
return false;
}
return false;
}
+ function getOrderFields() {
+ return [ 'title' ];
+ }
+
function getQueryInfo() {
return [
'tables' => [ 'page', 'categorylinks' ],
function getQueryInfo() {
return [
'tables' => [ 'page', 'categorylinks' ],
- 'fields' => [ 'namespace' => 'page_namespace',
+ 'fields' => [
+ 'namespace' => 'page_namespace',
'title' => 'page_title',
'title' => 'page_title',
- 'value' => 'page_title' ],
- 'conds' => [ 'cl_from IS NULL',
+ ],
+ 'conds' => [
+ 'cl_from IS NULL',
'page_namespace' => NS_FILE,
'page_namespace' => NS_FILE,
- 'page_is_redirect' => 0 ],
- 'join_conds' => [ 'categorylinks' => [
- 'LEFT JOIN', 'cl_from=page_id' ] ]
+ 'page_is_redirect' => 0,
+ ],
+ 'join_conds' => [
+ 'categorylinks' => [
+ 'LEFT JOIN',
+ 'cl_from=page_id',
+ ],
+ ],
];
}
];
}