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
Migrate Api modules from tag_summary table to change_tag
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryDeletedrevs.php
diff --git
a/includes/api/ApiQueryDeletedrevs.php
b/includes/api/ApiQueryDeletedrevs.php
index
e84b9b2
..
856653e
100644
(file)
--- a/
includes/api/ApiQueryDeletedrevs.php
+++ b/
includes/api/ApiQueryDeletedrevs.php
@@
-133,11
+133,7
@@
class ApiQueryDeletedrevs extends ApiQueryBase {
}
if ( $fld_tags ) {
}
if ( $fld_tags ) {
- $this->addTables( 'tag_summary' );
- $this->addJoinConds(
- [ 'tag_summary' => [ 'LEFT JOIN', [ 'ar_rev_id=ts_rev_id' ] ] ]
- );
- $this->addFields( 'ts_tags' );
+ $this->addFields( [ 'ts_tags' => ChangeTags::makeTagSummarySubquery( 'archive' ) ] );
}
if ( !is_null( $params['tag'] ) ) {
}
if ( !is_null( $params['tag'] ) ) {