🧹Disconnected Review-Log Cleaner

AnkiWeb addon 1067771610

Removes orphaned review-log entries left by deleted cards, then triggers a full sync, while warning that this may affect FSRS scheduling calculations.
AI-generated summary; may contain mistakes.

backup-maintenance

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
11 (👍 11 · 👎 0)
Updated
2025-06-10
Anki versions
25.06~
License
AGPL-3.0 (from the headers of the Python files)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
pt

Maintenance

stale

  • Last update or commit: 2025-06-10 (509 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.492.1.662024-08-19
23.1025.06+2025-06-10
History across monthly snapshots

Loading…

Similar addons

No-Sync Note Converter

Converts Anki notes between types without triggering a full sync, offering field mapping, presets, review-history preservation, deck/tag retention, browser and reviewer conversion, and one-step undo.

schedulingnote-managementcard-templatescloze

1 votes 21% approval 👍 1 · 👎 0 ⭐ 1 Anki 2.1.1~ Updated 2026-09-02
Japanese Text Cleaner

Cleans Japanese text in Anki notes by removing unnecessary spaces and furigana while preserving reading spaces and HTML, with preview, diff, undo, and change-log safeguards.

note-managementformatting

3 votes 44% approval 👍 3 · 👎 0 ⭐ 5 Updated 2019-07-12

Description

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

  1. Navigate to the Tools menu in Anki
  2. Select "Cleanup Deleted Card Reviews" (or translated equivalent)
  3. Review the count of orphaned entries found
  4. Confirm the prompt to clean the orphaned review log entries
  5. A full synchronization will be automatically triggered

Screenshot

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

README

Disconnected Review-Log Cleaner

Bug Report: https://github.com/cjdduarte/Disconnected_Review_Log_Cleaner/issues

Description

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.

Usage

  1. Navigate to the Tools menu in Anki
  2. Select "Cleanup Deleted Card Reviews" (or translated equivalent)
  3. Review the count of orphaned entries found
  4. Confirm the prompt to clean the orphaned review log entries
  5. A full synchronization will be automatically triggered

Screenshot

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
  • The operation runs in the background without freezing Anki
  • All changes are properly tracked for multi-device sync compatibility
  • Modern error handling prevents data corruption

Installation

  1. Download the add-on from AnkiWeb or GitHub
  2. Install through Anki's Add-ons manager
  3. Restart Anki
  4. The menu item will appear in Tools menu in your language

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