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 "Add action/user tracking to html cache purge jobs"
[lhc/web/wiklou.git]
/
includes
/
changetags
/
ChangeTagsRevisionList.php
diff --git
a/includes/changetags/ChangeTagsRevisionList.php
b/includes/changetags/ChangeTagsRevisionList.php
index
91193b0
..
61259b4
100644
(file)
--- a/
includes/changetags/ChangeTagsRevisionList.php
+++ b/
includes/changetags/ChangeTagsRevisionList.php
@@
-36,18
+36,16
@@
class ChangeTagsRevisionList extends ChangeTagsList {
*/
public function doQuery( $db ) {
$ids = array_map( 'intval', $this->ids );
*/
public function doQuery( $db ) {
$ids = array_map( 'intval', $this->ids );
+ $revQuery = Revision::getQueryInfo( [ 'user' ] );
$queryInfo = [
$queryInfo = [
- 'tables' =>
[ 'revision', 'user'
],
- 'fields' =>
array_merge( Revision::selectFields(), Revision::selectUserFields() )
,
+ 'tables' =>
$revQuery['tables'
],
+ 'fields' =>
$revQuery['fields']
,
'conds' => [
'rev_page' => $this->title->getArticleID(),
'rev_id' => $ids,
],
'options' => [ 'ORDER BY' => 'rev_id DESC' ],
'conds' => [
'rev_page' => $this->title->getArticleID(),
'rev_id' => $ids,
],
'options' => [ 'ORDER BY' => 'rev_id DESC' ],
- 'join_conds' => [
- 'page' => Revision::pageJoinCond(),
- 'user' => Revision::userJoinCond(),
- ],
+ 'join_conds' => $revQuery['joins'],
];
ChangeTags::modifyDisplayQuery(
$queryInfo['tables'],
];
ChangeTags::modifyDisplayQuery(
$queryInfo['tables'],