}
}
- self::purgeTagUsageCache();
-
Hooks::run( 'ChangeTagsAfterUpdateTags', [ $tagsToAdd, $tagsToRemove, $prevTags,
$rc_id, $rev_id, $log_id, $params, $rc, $user ] );
// Add an INNER JOIN on change_tag
$tables[] = 'change_tag';
- $join_conds['change_tag'] = [ 'INNER JOIN', $join_cond ];
+ $join_conds['change_tag'] = [ 'JOIN', $join_cond ];
$filterTagIds = [];
$changeTagDefStore = MediaWikiServices::getInstance()->getChangeTagDefStore();
foreach ( (array)$filter_tag as $filterTagName ) {
}
$tagTables = [ 'change_tag', 'change_tag_def' ];
- $join_cond_ts_tags = [ 'change_tag_def' => [ 'INNER JOIN', 'ct_tag_id=ctd_id' ] ];
+ $join_cond_ts_tags = [ 'change_tag_def' => [ 'JOIN', 'ct_tag_id=ctd_id' ] ];
$field = 'ctd_name';
return wfGetDB( DB_REPLICA )->buildGroupConcatField(
$cache->touchCheckKey( $cache->makeKey( 'valid-tags-hook' ) );
MediaWikiServices::getInstance()->getChangeTagDefStore()->reloadMap();
-
- self::purgeTagUsageCache();
}
/**
* Invalidates the tag statistics cache only.
* @since 1.25
+ * @deprecated since 1.33 the cache this purges no longer exists
*/
public static function purgeTagUsageCache() {
- $cache = MediaWikiServices::getInstance()->getMainWANObjectCache();
-
- $cache->touchCheckKey( $cache->makeKey( 'change-tag-statistics' ) );
+ wfDeprecated( __METHOD__, '1.33' );
}
/**