Records replacement adjusted for new wiki syntax. More colors added for categories.