@Esanders has proposed some patches to improve how Citoid reference context items are defined. They look good to me but I'd like us to do QA review to confirm that everything works correctly. Someone should also confirm that this doesn't negatively affect ContentTranslation, which has its own hacks on top of our hacks (last discussed in T232330).
Testing
- In VE, find or create an automatic reference for a book/website/news/journal
- Check that clicking on the reference in VE shows just one context item of the correct type: