Timeline:
- May 2005: compressOld.php run, without 120 byte threshold
- April ~20 2006: compressOld.php run again, with 120 byte threshold. Filter for previously compressed rows ignored due to array plus bug. Texts greater than 120 bytes were rewritten, but texts less than 120 bytes were left as HistoryBlobStub objects pointing to nonexistent data.
- April 22, 2006: checkStorage.php written
- April 24, 2006: checkStorage.php run on all affected wikis. Corrupted text was restored from the XML backups available at the time. Empty revisions were not restored, and text which was too new for the latest backup was not restored.
- December 2017: Storage errors changed from returning null/false to throwing
- January 2022: This bug, original report:
5730218 in German Wikipedia contains bad text and as result https://de.wikipedia.org/w/index.php?oldid=5730218 is causing fatal error. This probably needs recovering from backup if the corruption is new. Something hit that revision 20k times and caused an alert: https://logstash.wikimedia.org/goto/a8385d0d2cc5ec8e24fc3df102af4388