Refactors list and share link patterns.