Issue in Blender 10 years ago already: CTRL+L "Link Materials" reduced total amount of materials in cases, which it should not. It now just copies Material links from the active to selected Objects. Note for developers: see how this now is 3 lines of code, instead of like 30. I have no idea what I was thinking back then... the current solution could have been coded back then too.