Bug Report: https://github.com/cjdduarte/Disconnected_Review_Log_Cleaner/issues
English
The Disconnected Review-Log Cleaner add-on is designed to identify and remove orphaned review log entries that accumulate in the database over time. When cards are deleted, their associated review histories can become disconnected, meaning they're no longer linked to any active card. This tool efficiently cleans these orphaned entries, ensuring a tidier and more optimized database.
This cleanup is typically performed by users who want to maintain only the review history of current cards and no longer wish to see the history of deleted cards, since they are no longer being retained in their memory. This is also useful when you've accidentally imported test decks and want to remove the review history that remains after deleting those cards.
⚠️ Important FSRS Consideration: This action may affect FSRS (Free Spaced Repetition Scheduler) calculations, as the deleted review history will no longer be counted in the algorithm's data. If you're using FSRS, consider whether removing this historical data aligns with your learning goals before proceeding.
Português
O add-on Disconnected Review-Log Cleaner foi projetado para identificar e remover entradas órfãs do log de revisão que se acumulam no banco de dados ao longo do tempo. Quando cartões são excluídos, seus históricos de revisão associados podem ficar desconectados, ou seja, não estão mais vinculados a nenhum cartão ativo. Esta ferramenta limpa eficientemente essas entradas órfãs, garantindo um banco de dados mais organizado e otimizado.
Esta limpeza é tipicamente realizada por usuários que desejam manter apenas o histórico de revisão dos cartões atuais e não querem mais ver o histórico de cartões excluídos, já que eles não estão mais sendo mantidos em sua memória. Também é útil quando você importou acidentalmente decks de teste e quer remover o histórico de revisão que permanece após excluir esses cartões.
⚠️ Consideração Importante sobre FSRS: Esta ação pode afetar os cálculos do FSRS (Free Spaced Repetition Scheduler), pois o histórico de revisão excluído não será mais contabilizado nos dados do algoritmo. Se você está usando FSRS, considere se remover esses dados históricos está alinhado com seus objetivos de aprendizado antes de prosseguir.
Usage
- Navigate to the Tools menu in Anki
- Select "Cleanup Deleted Card Reviews" (or translated equivalent)
- Review the count of orphaned entries found
- Confirm the prompt to clean the orphaned review log entries
- A full synchronization will be automatically triggered

Supported Languages
- English: "Cleanup Deleted Card Reviews"
- Português (BR): "Limpar Revisões de Cartões Excluídos"
- Español: "Limpiar Revisiones de Tarjetas Eliminadas"
Language is automatically detected from Anki settings or system locale.
Important Notes
- After cleaning, a full synchronization is automatically required
Changelog
- v2.0 - 2025-06-10 - Modern Translation System & API Updates
- NEW: Complete multi-language support (EN, PT-BR, ES)
- NEW: Automatic language detection from Anki/system settings
- BREAKING: Updated to modern
CollectionOp API (Anki 25.06+ compatible)
- IMPROVED: Better error handling with user-friendly messages
- IMPROVED: Background processing prevents UI freezing
- IMPROVED: Proper
OpChanges return object for sync compatibility
- COMPATIBILITY: Full support for Anki 25.06+ (no more deprecation warnings)
- FIXED: Replaced deprecated
modSchema, setMod(), save(), requireReset()
- Renamed menu items for clarity: "Cleanup Deleted Card Reviews"
- Enhanced confirmation and success messages
- Modern translation system with fallback support
- v1.1 - 2024-08-19 - Improved Messaging
- Improved success message after cleaning logs
- v1.0 - 2023-08-19 - Initial Release
- Basic disconnected review log cleaning functionality
License & Credits