itemKey for merged item
It seems to me that the behavior of the merge function changed, but I could be mistaken. Could you please confirm or deny the following change?
Previously, when merging two items, the merged item had the itemKey of the older item, irrespective of which item was selected as the master item. Now, the merged item will have the itemKey of the master item.
In my view, preserving the older itemKey irrespective of the choice of the master item would be the preferred behavior. With the current behavior, if you are using a zotero://select link e.g. for a preprint, this link will become invalid once the preprint is merged with an updated version.
Previously, when merging two items, the merged item had the itemKey of the older item, irrespective of which item was selected as the master item. Now, the merged item will have the itemKey of the master item.
In my view, preserving the older itemKey irrespective of the choice of the master item would be the preferred behavior. With the current behavior, if you are using a zotero://select link e.g. for a preprint, this link will become invalid once the preprint is merged with an updated version.
I don't think we check 'replaces' for zotero://select links. We could do that.
We do check them for word processor citations, so that should work.
In 5.0.66, we started setting the Date Added of the oldest item on the master item, but that was simply about the date — before that, we were still retaining the selected master item and its key and marking it as replacing the non-master items.
zotero://select/library/items/AAAAAAAA
look for a dc:replaces pointing to AAAAAAAA, but what about the newzotero://select/library/items?itemKey=AAAAAAAA,CCCCCCCC
syntax? Should that also look for replacements for each key?In the HTTP equivalent,
example.com/items/AAAAAAAA
would redirect toexample.com/items/BBBBBBBB
butexample.com/search?q=AAAAAAAA
probably wouldn't return BBBBBBBB in search results.