+ if ( $this->fld_user || $this->fld_userid || !is_null( $this->token ) ) {
+ // Token needs rc_user for RecentChange::newFromRow/User::newFromAnyId (T228425)
+ $actorQuery = ActorMigration::newMigration()->getJoin( 'rc_user' );
+ $this->addTables( $actorQuery['tables'] );
+ $this->addFields( $actorQuery['fields'] );
+ $this->addJoinConds( $actorQuery['joins'] );
+ }
+